Skip to content

Commit 83ff4b1

Browse files
committed
Improve descriptions
1 parent 1bf3ce0 commit 83ff4b1

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

reference/forms/types/options/action.rst.inc

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ action
77
**type**: ``string`` **default**: empty string
88

99
This option specifies where to send the form's data on submission (usually an
10-
URI). An empty value is considered a same-document references, i.e. the form
10+
URI). It's value is rendered as the ``action`` attribute of the ``form``
11+
element. An empty value is considered a same-document reference, i.e. the form
1112
will be submitted to the same URI that rendered the form.

reference/forms/types/options/method.rst.inc

+6-2
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,19 @@ method
66

77
**type**: ``string`` **default**: ``POST``
88

9-
This option specifies the HTTP method used to submit the form's data. Possible
10-
values are:
9+
This option specifies the HTTP method used to submit the form's data. It's
10+
value is rendered as the ``method`` attribute of the ``form`` element.
11+
Possible values are:
1112

1213
* POST
1314
* GET
1415
* PUT
1516
* DELETE
1617
* PATCH
1718

19+
As PUT, DELETE and PATCH are not nativly supported by most clients, Symfony
20+
simulates them, see :doc:`/cookbook/routing/method_parameters`.
21+
1822
.. note::
1923
Using ``PUT``, ``PATCH`` and ``DELETE`` is only allowed if
2024
:ref:`configuration-framework-http_method_override` is enabled.

0 commit comments

Comments
 (0)