parent
56f3434c4a
commit
eb5b41262f
|
@ -42,29 +42,16 @@
|
||||||
]
|
]
|
||||||
%}
|
%}
|
||||||
|
|
||||||
{% if label_hidden %}
|
<div{{ attributes.addClass('markup') }}>
|
||||||
{% if multiple %}
|
<h2{{ title_attributes.addClass(title_classes) }}>
|
||||||
<div{{ attributes }}>
|
{{ label }}
|
||||||
{% for item in items %}
|
</h2>
|
||||||
<div{{ item.attributes }}>{{ item.content }}</div>
|
|
||||||
|
<ul>
|
||||||
|
{% for item in items|reverse %}
|
||||||
|
<li{{ item.attributes }}>
|
||||||
|
{{ item.content }}
|
||||||
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
|
||||||
{% for item in items %}
|
|
||||||
<div{{ attributes }}>{{ item.content }}</div>
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
{% else %}
|
|
||||||
<div{{ attributes }}>
|
|
||||||
<h2{{ title_attributes.addClass(title_classes) }}>{{ label }}</h2>
|
|
||||||
{% if multiple %}
|
|
||||||
<div>
|
|
||||||
{% endif %}
|
|
||||||
{% for item in items %}
|
|
||||||
<div{{ item.attributes }}>{{ item.content }}</div>
|
|
||||||
{% endfor %}
|
|
||||||
{% if multiple %}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
Loading…
Reference in a new issue