We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 240cf46 commit 121443fCopy full SHA for 121443f
book/forms.rst
@@ -1275,6 +1275,17 @@ to define form output.
1275
this method to quickly make form output customizations that will only
1276
ever be needed in a single template.
1277
1278
+ .. caution::
1279
+
1280
+ Templates that do not make use of the extends tag and thereby become
1281
+ a child of another template will have all of their blocks executed
1282
+ the moment they are rendered. This has the side-effect of preventing
1283
+ form_theme from having access to blocks you may be attempting to use
1284
+ when overriding the default form blocks.
1285
1286
+ In practice, {% form_theme form _self %} should only be used by templates
1287
+ that do extend a base template.
1288
1289
PHP
1290
...
1291
0 commit comments