File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ You can also apply a form theme to a specific child of your form:
337337
338338.. code-block :: html+twig
339339
340- {% form_theme form.children 'form/fields.html.twig' %}
340+ {% form_theme form.a_child_form 'form/fields.html.twig' %}
341341
342342This is useful when you want to have a custom theme for a nested form that's
343343different than the one of your main form. Just specify both your themes:
@@ -346,7 +346,7 @@ different than the one of your main form. Just specify both your themes:
346346
347347 {% form_theme form 'form/fields.html.twig' %}
348348
349- {% form_theme form.children 'form/fields_child.html.twig' %}
349+ {% form_theme form.a_child_form 'form/fields_child.html.twig' %}
350350
351351Form Theming in PHP
352352-------------------
You can’t perform that action at this time.
0 commit comments