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:
337
337
338
338
.. code-block :: html+twig
339
339
340
- {% form_theme form.children 'form/fields.html.twig' %}
340
+ {% form_theme form.a_child_form 'form/fields.html.twig' %}
341
341
342
342
This is useful when you want to have a custom theme for a nested form that's
343
343
different 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:
346
346
347
347
{% form_theme form 'form/fields.html.twig' %}
348
348
349
- {% form_theme form.children 'form/fields_child.html.twig' %}
349
+ {% form_theme form.a_child_form 'form/fields_child.html.twig' %}
350
350
351
351
Form Theming in PHP
352
352
-------------------
You can’t perform that action at this time.
0 commit comments