Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 83ff4b1

Browse filesBrowse files
committed
Improve descriptions
1 parent 1bf3ce0 commit 83ff4b1
Copy full SHA for 83ff4b1

File tree

Expand file treeCollapse file tree

2 files changed

+8
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+8
-3
lines changed

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

Copy file name to clipboardExpand all lines: reference/forms/types/options/action.rst.inc
+2-1Lines changed: 2 additions & 1 deletion
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

Copy file name to clipboardExpand all lines: reference/forms/types/options/method.rst.inc
+6-2Lines changed: 6 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.