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::
755
755
Changing the Action and HTTP Method
756
756
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
757
757
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,
761
761
use the ``setAction() `` and ``setMethod() `` methods to change this::
762
762
763
763
// src/Controller/TaskController.php
You can’t perform that action at this time.
0 commit comments