[BUG] Delete class 'control-group' in bootstrap 3

This commit is contained in:
Philippe Degeeter 2016-04-11 17:38:02 +02:00 committed by Fabien Potencier
parent 0753bd70ae
commit 99f61d6df3

View File

@ -94,14 +94,12 @@
{% block choice_widget_expanded -%}
{% if '-inline' in label_attr.class|default('') -%}
<div class="control-group">
{%- for child in form %}
{{- form_widget(child, {
parent_label_class: label_attr.class|default(''),
translation_domain: choice_translation_domain,
}) -}}
{% endfor -%}
</div>
{%- for child in form %}
{{- form_widget(child, {
parent_label_class: label_attr.class|default(''),
translation_domain: choice_translation_domain,
}) -}}
{% endfor -%}
{%- else -%}
<div {{ block('widget_container_attributes') }}>
{%- for child in form %}