8000 Modifying note in #1430 to be shorter · wouterj/symfony-docs@0f2d2ce · GitHub
[go: up one dir, main page]

Skip to content

Commit 0f2d2ce

Browse files
committed
Modifying note in symfony#1430 to be shorter
1 parent c1fed79 commit 0f2d2ce

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

book/forms.rst

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,15 +1280,10 @@ to define form output.
12801280
ever be needed in a single template.
12811281

12821282
.. caution::
1283-
1284-
Templates that do not make use of the extends tag and thereby become
1285-
a child of another template will have all of their blocks executed
1286-
the moment they are rendered. This has the side-effect of preventing
1287-
form_theme from having access to blocks you may be attempting to use
1288-
when overriding the default form blocks.
1289-
1290-
In practice, {% form_theme form _self %} should only be used by templates
1291-
that do extend a base template.
1283+
1284+
This ``{% form_theme form _self %}`` functionality will *only* work
1285+
if your template extends another. If your template does not, you
1286+
must point ``form_theme`` to a separate template.
12921287

12931288
PHP
12941289
...

0 commit comments

Comments
 (0)
0