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.
2 parents fdc6297 + 121443f commit c1fed79Copy full SHA for c1fed79
book/forms.rst
@@ -1279,6 +1279,17 @@ to define form output.
1279
this method to quickly make form output customizations that will only
1280
ever be needed in a single template.
1281
1282
+ .. 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.
1292
1293
PHP
1294
...
1295
0 commit comments