Remove 'content', 'label' classes from inline-label fields

This commit is contained in:
benjamin melançon 2018-10-31 18:46:45 -04:00
parent b2e8ce6637
commit 3d9f82bae9

View file

@ -55,8 +55,8 @@
{{ item.content}} {{ item.content}}
{% endfor %} {% endfor %}
{% elseif label_display == 'inline' %} {% elseif label_display == 'inline' %}
<p{{ attributes.removeClass('label') }}> <p{{ attributes.removeClass('content') }}>
<label{{ title_attributes }}>{{ label }}</label> <label{{ title_attributes.removeClass('label') }}>{{ label }}</label>
{% for item in items %} {% for item in items %}
<strong>{{ item.content }}</strong> <strong>{{ item.content }}</strong>
{% endfor %} {% endfor %}