We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdac9e3 commit 8ac8f9dCopy full SHA for 8ac8f9d
src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_3_layout.html.twig
@@ -123,10 +123,15 @@
123
{%- endblock datetime_row %}
124
125
{% block checkbox_row -%}
126
+{% spaceless %}
127
<div class="form-group{% if not valid %} has-error{% endif %}">
- {{- form_widget(form) -}}
128
- {{- form_errors(form) -}}
+ <div class="{{ block('form_label_class') }}"></div>
129
+ <div class="{{ block('form_group_class') }}">
130
+ {{- form_widget(form) -}}
131
+ {{- form_errors(form) -}}
132
+ </div>
133
</div>
134
+{% endspaceless %}
135
{%- endblock checkbox_row %}
136
137
{% block radio_row -%}
0 commit comments