We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f27e3a0 + 71ff306 commit 0bce513Copy full SHA for 0bce513
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