Skip to content

Commit 0bce513

Browse files
author
Florian Eckerstorfer
committed
Merge pull request braincrafted#144 from squaye85/patch-1
Update bootstrap.html.twig
2 parents f27e3a0 + 71ff306 commit 0bce513

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Resources/views/Form/bootstrap.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@
236236
{% if align_with_widget is defined or attr.align_with_widget is defined %}
237237
{% set widget_col = widget_col|default(10) %}
238238
{% set label_col = label_col|default(2) %}
239-
{% set class = ' -col-' ~ col_size ~ widget_col ~ ' col-' ~ col_size ~ '-offset-' ~ label_col %}
239+
{% set class = 'col-' ~ col_size ~ '-' ~ widget_col ~ ' col-' ~ col_size ~ '-offset-' ~ label_col %}
240240
<div class="form-group row{% if not form.vars.valid %} has-error{% endif %}">
241241
<div class="{{ class }}">
242242
{% elseif no_form_group is not defined or no_form_group == false %}

0 commit comments

Comments
 (0)