Skip to content

Commit d29ee51

Browse files
committed
Removed an unnecessary tip
1 parent 9626606 commit d29ee51

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

forms.rst

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -446,19 +446,6 @@ possible paths:
446446
data is passed to it, you can
447447
:doc:`use the submit() method to handle form submissions </form/direct_submit>`.
448448

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-
462449
.. _validating-forms:
463450

464451
Validating Forms

0 commit comments

Comments
 (0)