We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f27e3a0 commit 71ff306Copy full SHA for 71ff306
1 file changed
Resources/views/Form/bootstrap.html.twig
@@ -236,7 +236,7 @@
236
{% if align_with_widget is defined or attr.align_with_widget is defined %}
237
{% set widget_col = widget_col|default(10) %}
238
{% set label_col = label_col|default(2) %}
239
- {% set class = ' -col-' ~ col_size ~ widget_col ~ ' col-' ~ col_size ~ '-offset-' ~ label_col %}
+ {% set class = 'col-' ~ col_size ~ '-' ~ widget_col ~ ' col-' ~ col_size ~ '-offset-' ~ label_col %}
240
<div class="form-group row{% if not form.vars.valid %} has-error{% endif %}">
241
<div class="{{ class }}">
242
{% elseif no_form_group is not defined or no_form_group == false %}
0 commit comments