Skip to content

Commit 72fae25

Browse files
committed
minor #3790 [Reference][Forms] move versionadded directives for form options directly below the option's headline (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- [Reference][Forms] move versionadded directives for form options directly below the option's headline | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | When you link directly to a form type option (for example, http://symfony.com/doc/current/reference/forms/types/form.html#action), the ``versionadded`` directive is rendered outside the user's view port which might confuse people. Thus, @wouterj and me decided to place ``versionadded`` directives for form type options directly below the option's headline (above the ``type`` line). Commits ------- 72c30c2 move versionadded directives for form options directly below the option's headline
2 parents b4d4ac3 + 72c30c2 commit 72fae25

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

Diff for: reference/forms/types/options/action.rst.inc

+3-3
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

Diff for: reference/forms/types/options/empty_value.rst.inc

+2-2
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.

Diff for: reference/forms/types/options/error_mapping.rst.inc

+2-2
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 was introduced in 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

Diff for: reference/forms/types/options/method.rst.inc

+3-3
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

Diff for: reference/forms/types/options/with_minutes.rst.inc

+3-3
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)