Style fields with labels

This commit is contained in:
benjamin melançon 2018-10-26 00:59:58 -04:00
parent bf392eb2c7
commit 4a8191301b

View file

@ -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 %}