Issue #2560411 by davidhernandez: The same CSS classes are being added to the field wrapper and field item

8.0.x
Alex Pott 2015-09-06 22:53:30 +01:00
parent c5dbd43cf6
commit 54b6085103
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@
{% if multiple %}
<div{{ attributes.addClass(classes, 'field__items') }}>
{% for item in items %}
<div{{ item.attributes.addClass(classes, 'field__item') }}>{{ item.content }}</div>
<div{{ item.attributes.addClass('field__item') }}>{{ item.content }}</div>
{% endfor %}
</div>
{% else %}