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

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