Skip to content

Commit b43e9bd

Browse files
wouterjfabpot
authored andcommitted
[TwigBridge] Fix the build
1 parent 3289de4 commit b43e9bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Resources/views/Form/bootstrap_3_layout.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@
101101
{%- endif -%}
102102
{%- endif -%}
103103
<label{% with { attr: label_attr } %}{{ block('attributes') }}{% endwith %}>
104-
{{- widget|raw }}
105-
{%- if label is not same as(false) -%}
104+
{#- if statement must be kept on the same line, to force the space between widget and label -#}
105+
{{- widget|raw }} {% if label is not same as(false) -%}
106106
{%- if translation_domain is same as(false) -%}
107107
{%- if label_html is same as(false) -%}
108108
{{ label -}}

0 commit comments

Comments
 (0)