probably fix non-multiple hidden label fields

This commit is contained in:
benjamin melançon 2018-10-26 00:58:45 -04:00
parent 7faabb912a
commit bf392eb2c7

View file

@ -68,11 +68,9 @@
{% import _self as helpers %}
{% if label_hidden %}
{% if multiple %}
{% for item in items %}
{{ item.content}}
{% endfor %}
{% endif %}
{% for item in items %}
{{ item.content}}
{% endfor %}
{% else %}
<div{{ attributes }}>
<div{{ title_attributes }}>{{ label }}</div>