Style fields with labels
This commit is contained in:
parent
bf392eb2c7
commit
4a8191301b
1 changed files with 4 additions and 4 deletions
|
@ -72,16 +72,16 @@
|
||||||
{{ item.content}}
|
{{ item.content}}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<div{{ attributes }}>
|
<p{{ attributes }}>
|
||||||
<div{{ title_attributes }}>{{ label }}</div>
|
<label{{ title_attributes }}>{{ label }}</label>
|
||||||
{% if multiple and use_item_wrapper %}
|
{% if multiple and use_item_wrapper %}
|
||||||
<div>
|
<div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for item in items %}
|
{% for item in items %}
|
||||||
{{ helpers.render_item(item, item_classes, use_item_wrapper) }}
|
<strong>{{ helpers.render_item(item, item_classes, use_item_wrapper) }}</strong>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if multiple and use_item_wrapper %}
|
{% if multiple and use_item_wrapper %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue