Skip to content

Commit c865b03

Browse files
Merge branch '2.7' into 2.8
* 2.7: Fix for missing whitespace control modifier in form layout
2 parents 4dccfef + 783cd69 commit c865b03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@
306306
{% if not child.rendered %}
307307
{{- form_row(child) -}}
308308
{% endif %}
309-
{%- endfor %}
309+
{%- endfor -%}
310310

311311
{% if not form.methodRendered and form is rootform %}
312312
{%- do form.setMethodRendered() -%}
@@ -320,7 +320,7 @@
320320
{%- if form_method != method -%}
321321
<input type="hidden" name="_method" value="{{ method }}" />
322322
{%- endif -%}
323-
{% endif %}
323+
{% endif -%}
324324
{% endblock form_rest %}
325325

326326
{# Support #}

0 commit comments

Comments
 (0)