File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -755,9 +755,9 @@ Set the ``label`` option on fields to define their labels explicitly::
755755Changing the Action and HTTP Method
756756~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
757757
758- By default, the ``<form> `` tag will be rendered with a ``method="post" `` attribute,
759- and no ``action `` attribute, causing it to be submitted via an HTTP POST request to the same
760- URL under which it was rendered. When building the form,
758+ By default, the ``<form> `` tag is rendered with a ``method="post" `` attribute,
759+ and no ``action `` attribute. This means that the form is submitted via an HTTP
760+ POST request to the same URL under which it was rendered. When building the form,
761761use the ``setAction() `` and ``setMethod() `` methods to change this::
762762
763763 // src/Controller/TaskController.php
You can’t perform that action at this time.
0 commit comments