Merge branch '2.8' into 3.3

* 2.8:
  Fix for missing whitespace control modifier in form layout
This commit is contained in:
Nicolas Grekas 2017-12-04 20:58:26 +01:00
commit 1f2213a691
1 changed files with 2 additions and 2 deletions

View File

@ -337,7 +337,7 @@
{% if not child.rendered %}
{{- form_row(child) -}}
{% endif %}
{%- endfor %}
{%- endfor -%}
{% if not form.methodRendered and form is rootform %}
{%- do form.setMethodRendered() -%}
@ -351,7 +351,7 @@
{%- if form_method != method -%}
<input type="hidden" name="_method" value="{{ method }}" />
{%- endif -%}
{% endif %}
{% endif -%}
{% endblock form_rest %}
{# Support #}