Skip to content

Commit 71ff306

Browse files
committed
Update bootstrap.html.twig
fixed class attribute for checkbox
1 parent f27e3a0 commit 71ff306

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)