Skip to content

Commit 6856b71

Browse files
committed
Minor tweaks
1 parent 76959a5 commit 6856b71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

forms.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -755,9 +755,9 @@ Set the ``label`` option on fields to define their labels explicitly::
755755
Changing 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,
761761
use the ``setAction()`` and ``setMethod()`` methods to change this::
762762

763763
// src/Controller/TaskController.php

0 commit comments

Comments
 (0)