Remove 'content', 'label' classes from inline-label fields
This commit is contained in:
parent
b2e8ce6637
commit
3d9f82bae9
1 changed files with 3 additions and 3 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue