Skip to content

Commit 72c30c2

Browse files
committed
move versionadded directives for form options directly below the option's headline
1 parent cfd6d7c commit 72c30c2

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
.. versionadded:: 2.3
2-
The ``action`` option was introduced in Symfony 2.3.
3-
41
action
52
~~~~~~
63

4+
.. versionadded:: 2.3
5+
The ``action`` option was introduced in Symfony 2.3.
6+
77
**type**: ``string`` **default**: empty string
88

99
This option specifies where to send the form's data on submission (usually a

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
empty_value
22
~~~~~~~~~~~
33

4-
**type**: ``string`` or ``Boolean``
5-
64
.. versionadded:: 2.3
75
Since Symfony 2.3, empty values are also supported if the ``expanded``
86
option is set to true.
97

8+
**type**: ``string`` or ``Boolean``
9+
1010
This option determines whether or not a special "empty" option (e.g. "Choose an option")
1111
will appear at the top of a select widget. This option only applies if the
1212
``multiple`` option is set to false.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
error_mapping
22
~~~~~~~~~~~~~
33

4-
**type**: ``array`` **default**: ``empty``
5-
64
.. versionadded:: 2.1
75
The ``error_mapping`` option is new to Symfony 2.1.
86

7+
**type**: ``array`` **default**: ``empty``
8+
99
This option allows you to modify the target of a validation error.
1010

1111
Imagine you have a custom method named ``matchingCityAndZipCode`` that validates

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
.. versionadded:: 2.3
2-
The ``method`` option was introduced in Symfony 2.3.
3-
41
method
52
~~~~~~
63

4+
.. versionadded:: 2.3
5+
The ``method`` option was introduced in Symfony 2.3.
6+
77
**type**: ``string`` **default**: ``POST``
88

99
This option specifies the HTTP method used to submit the form's data. Its

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
.. versionadded:: 2.2
2-
The ``with_minutes`` option was introduced in Symfony 2.2.
3-
41
with_minutes
52
~~~~~~~~~~~~
63

4+
.. versionadded:: 2.2
5+
The ``with_minutes`` option was introduced in Symfony 2.2.
6+
77
**type**: ``Boolean`` **default**: ``true``
88

99
Whether or not to include minutes in the input. This will result in an additional

0 commit comments

Comments
 (0)