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}}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<div{{ attributes }}>
|
||||
<div{{ title_attributes }}>{{ label }}</div>
|
||||
<p{{ attributes }}>
|
||||
<label{{ title_attributes }}>{{ label }}</label>
|
||||
{% if multiple and use_item_wrapper %}
|
||||
<div>
|
||||
{% endif %}
|
||||
{% 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 %}
|
||||
{% if multiple and use_item_wrapper %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue