Skip to content

Commit 784374e

Browse files
Merge branch '2.7' into 2.8
* 2.7: [DI] use assertStringEqualsFile when possible [VarDumper] Adapt to php 7.2 changes [Form][TwigBridge] Don't render _method in form_rest() for a child form [Validator] Fix IbanValidator for ukrainian IBANs
2 parents 788060d + 8121087 commit 784374e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/views/Form/form_div_layout.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@
308308
{% endif %}
309309
{%- endfor %}
310310

311-
{% if not form.methodRendered %}
311+
{% if not form.methodRendered and form.parent is null %}
312312
{%- do form.setMethodRendered() -%}
313313
{% set method = method|upper %}
314314
{%- if method in ["GET", "POST"] -%}

0 commit comments

Comments
 (0)