Skip to content

Commit 7453e43

Browse files
committed
Merge pull request #957 from bluntelk/expanded-choicelist-bugfix
Bug Fix: expanded choice list not appearing vertically by default
2 parents e1fdf26 + 7709cbe commit 7453e43

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Resources/views/Form/fields.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
<div class="btn-group" data-toggle="buttons">
190190
{% endif %}
191191
{% for child in form %}
192-
{% if not widget_type in ['inline', 'inline-btn'] %}
192+
{% if widget_type not in ['inline', 'inline-btn'] %}
193193
<div class="{{ multiple ? 'checkbox' : 'radio' }}"
194194
{%- if widget_type == 'inline-btn' %} class="btn-group" data-toggle="buttons"{% endif %}>
195195
{% endif %}
@@ -209,7 +209,7 @@
209209
{{ child.vars.label|trans({}, translation_domain) }}
210210
{% endif %}
211211
</label>
212-
{% if not widget_type in ['inline', 'inline-btn'] %}
212+
{% if widget_type not in ['inline', 'inline-btn'] %}
213213
</div>
214214
{% endif %}
215215
{% endfor %}

0 commit comments

Comments
 (0)