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 %} {% import _self as helpers %}
{% if label_hidden %} {% if label_hidden %}
{% if multiple %} {% for item in items %}
{% for item in items %} {{ item.content}}
{{ item.content}} {% endfor %}
{% endfor %}
{% endif %}
{% else %} {% else %}
<div{{ attributes }}> <div{{ attributes }}>
<div{{ title_attributes }}>{{ label }}</div> <div{{ title_attributes }}>{{ label }}</div>