File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -446,19 +446,6 @@ possible paths:
446
446
data is passed to it, you can
447
447
:doc: `use the submit() method to handle form submissions </form/direct_submit >`.
448
448
449
- .. tip ::
450
-
451
- If you need to render and process the same form in different templates,
452
- use the ``render() `` function to :ref: `embed the controller <templates-embed-controllers >`
453
- that processes the form:
454
-
455
- .. code-block :: twig
456
-
457
- {{ render(controller('App\\Controller\\TaskController::new')) }}
458
-
459
- But be careful becaues this might cause some extra work when it comes to submit and error handling.
460
- Symfony Validation will get more complex when you render the same form in different routes.
461
-
462
449
.. _validating-forms :
463
450
464
451
Validating Forms
You can’t perform that action at this time.
0 commit comments