8000 bug #18507 [BUG] Delete class 'control-group' in bootstrap 3 (Philipp… · symfony/symfony@dd33721 · GitHub
[go: up one dir, main page]

Skip to content

Commit dd33721

Browse files
committed
bug #18507 [BUG] Delete class 'control-group' in bootstrap 3 (Philippe Degeeter)
This PR was submitted for the 3.0 branch but it was merged into the 2.7 branch instead (closes #18507). Discussion ---------- [BUG] Delete class 'control-group' in bootstrap 3 | Q | A | ------------- | --- | Branch? | 3.0 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #18506 | License | MIT | Doc PR | any Commits ------- 99f61d6 [BUG] Delete class 'control-group' in bootstrap 3
2 parents 0753bd7 + 99f61d6 commit dd33721

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_3_layout.html.twig

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,12 @@
9494

9595
{% block choice_widget_expanded -%}
9696
{% if '-inline' in label_attr.class|default('') -%}
97-
<div class="control-group">
98-
{%- for child in form %}
99-
{{- form_widget(child, {
100-
parent_label_class: label_attr.class|default(''),
101-
translation_domain: choice_translation_domain,
102-
}) -}}
103-
{% endfor -%}
104-
</div>
97+
{%- for child in form %}
98+
{{- form_widget(child, {
99+
parent_label_class: label_attr.class|default(''),
100+
translation_domain: choice_translation_domain,
101+
}) -}}
102+
{% endfor -%}
105103
{%- else -%}
106104
<div {{ block('widget_container_attributes') }}>
107105
{%- for child in form %}

0 commit comments

Comments
 (0)
0