Commit 11ad45f3 by Manzar Hussain

hide title

parent f87fe7b1
...@@ -57,18 +57,25 @@ ...@@ -57,18 +57,25 @@
{% if multiple %} {% if multiple %}
{% for item in items %} {% for item in items %}
{{ item.content }} {{ item.attributes.addClass('field__item') }}>{{ item.content }}
{% endfor %} {% endfor %}
{% else %} {% else %}
{% for item in items %} {% for item in items %}
{{ item.content }} <div{{ attributes.addClass(classes, 'field__item') }}>{{ item.content }}</div>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% else %} {% else %}
<div{{ attributes.addClass(classes) }}>
<div{{ title_attributes.addClass(title_classes) }}>{{ label }}</div> <div{{ title_attributes.addClass(title_classes) }}>{{ label }}</div>
{% if multiple %}
<div class="field__items">
{% endif %}
{% for item in items %} {% for item in items %}
{{ item.content }} <div{{ item.attributes.addClass('field__item') }}>{{ item.content }}</div>
{% endfor %} {% endfor %}
{% if multiple %}
</div>
{% endif %}
</div>
{% endif %} {% endif %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment