Skip to content

Commit 4555495

Browse files
committed
Update note wording for "method" option
1 parent 70ca6da commit 4555495

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

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

+4-5
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ used to decide whether to process the form submission in the
1919
2020
.. note:
2121
22-
If not natively supported by a client, Symfony allows to simulate PUT,
23-
DELETE and PATCH requests by using a POST request instead and passing the
24-
intended "real" method by either using a ``X-HTTP-Method-Override``
25-
request header or by passing it via the special ``_method`` data field.
26-
For more information see :doc:`/cookbook/routing/method_parameters`.
22+
When the method is PUT, PATCH, or DELETE, Symfony will automatically
23+
render a ``_method`` hidden field in your form. This is used to "fake"
24+
these HTTP methods, as they're not supported on standard browsers. For
25+
more information, see :doc:`/cookbook/routing/method_parameters`.

0 commit comments

Comments
 (0)