Skip to content

Commit f28ef78

Browse files
committed
changing a few orders of sections - mostly to move overridden after the main options
1 parent cd8f49b commit f28ef78

File tree

5 files changed

+40
-40
lines changed

5 files changed

+40
-40
lines changed

reference/forms/types/integer.rst

+8-8
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ integers. By default, all non-integer values (e.g. 6.78) will round down
1616
+-------------+-----------------------------------------------------------------------+
1717
| Rendered as | ``input`` ``number`` field |
1818
+-------------+-----------------------------------------------------------------------+
19-
| Overridden | - `compound`_ |
20-
| options | |
21-
+-------------+-----------------------------------------------------------------------+
2219
| Options | - `grouping`_ |
2320
| | - `precision`_ |
2421
| | - `rounding_mode`_ |
2522
+-------------+-----------------------------------------------------------------------+
23+
| Overridden | - `compound`_ |
24+
| options | |
25+
+-------------+-----------------------------------------------------------------------+
2626
| Inherited | - `data`_ |
2727
| options | - `disabled`_ |
2828
| | - `empty_data`_ |
@@ -41,11 +41,6 @@ integers. By default, all non-integer values (e.g. 6.78) will round down
4141
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\IntegerType` |
4242
+-------------+-----------------------------------------------------------------------+
4343

44-
Overridden Options
45-
------------------
46-
47-
.. include:: /reference/forms/types/options/compound_type.rst.inc
48-
4944
Field Options
5045
-------------
5146

@@ -74,6 +69,11 @@ on the :class:`Symfony\\Component\\Form\\Extension\\Core\\DataTransformer\\Integ
7469
* ``IntegerToLocalizedStringTransformer::ROUND_CEILING`` Rounding mode
7570
to round towards positive infinity.
7671

72+
Overridden Options
73+
------------------
74+
75+
.. include:: /reference/forms/types/options/compound_type.rst.inc
76+
7777
Inherited Options
7878
-----------------
7979

reference/forms/types/money.rst

+8-8
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ how the input and output of the data is handled.
1414
+-------------+---------------------------------------------------------------------+
1515
| Rendered as | ``input`` ``text`` field |
1616
+-------------+---------------------------------------------------------------------+
17-
| Overridden | - `compound`_ |
18-
| options | |
19-
+-------------+---------------------------------------------------------------------+
2017
| Options | - `currency`_ |
2118
| | - `divisor`_ |
2219
| | - `grouping`_ |
2320
| | - `precision`_ |
2421
+-------------+---------------------------------------------------------------------+
22+
| Overridden | - `compound`_ |
23+
| options | |
24+
+-------------+---------------------------------------------------------------------+
2525
| Inherited | - `data`_ |
2626
| options | - `disabled`_ |
2727
| | - `empty_data`_ |
@@ -40,11 +40,6 @@ how the input and output of the data is handled.
4040
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\MoneyType` |
4141
+-------------+---------------------------------------------------------------------+
4242

43-
Overridden Options
44-
------------------
45-
46-
.. include:: /reference/forms/types/options/compound_type.rst.inc
47-
4843
Field Options
4944
-------------
5045

@@ -91,6 +86,11 @@ you can modify this value. You probably won't need to do this unless,
9186
for example, you want to round to the nearest dollar (set the precision
9287
to ``0``).
9388

89+
Overridden Options
90+
------------------
91+
92+
.. include:: /reference/forms/types/options/compound_type.rst.inc
93+
9494
Inherited Options
9595
-----------------
9696

reference/forms/types/number.rst

+8-8
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ that you want to use for your number.
1111
+-------------+----------------------------------------------------------------------+
1212
| Rendered as | ``input`` ``text`` field |
1313
+-------------+----------------------------------------------------------------------+
14-
| Overridden | - `compound`_ |
15-
| options | |
16-
+-------------+----------------------------------------------------------------------+
1714
| Options | - `grouping`_ |
1815
| | - `precision`_ |
1916
| | - `rounding_mode`_ |
2017
+-------------+----------------------------------------------------------------------+
18+
| Overridden | - `compound`_ |
19+
| options | |
20+
+-------------+----------------------------------------------------------------------+
2121
| Inherited | - `data`_ |
2222
| options | - `disabled`_ |
2323
| | - `empty_data`_ |
@@ -36,11 +36,6 @@ that you want to use for your number.
3636
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\NumberType` |
3737
+-------------+----------------------------------------------------------------------+
3838

39-
Overridden Options
40-
------------------
41-
42-
.. include:: /reference/forms/types/options/compound_type.rst.inc
43-
4439
Field Options
4540
-------------
4641

@@ -82,6 +77,11 @@ option is a constant on the
8277
to round towards "nearest neighbor" unless both neighbors are equidistant,
8378
in which case round up.
8479

80+
Overridden Options
81+
------------------
82+
83+
.. include:: /reference/forms/types/options/compound_type.rst.inc
84+
8585
Inherited Options
8686
-----------------
8787

reference/forms/types/percent.rst

+8-8
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ This field adds a percentage sign "``%``" after the input box.
1515
+-------------+-----------------------------------------------------------------------+
1616
| Rendered as | ``input`` ``text`` field |
1717
+-------------+-----------------------------------------------------------------------+
18-
| Overridden | - `compound`_ |
19-
| options | |
20-
+-------------+-----------------------------------------------------------------------+
2118
| Options | - `precision`_ |
2219
| | - `type`_ |
2320
+-------------+-----------------------------------------------------------------------+
21+
| Overridden | - `compound`_ |
22+
| options | |
23+
+-------------+-----------------------------------------------------------------------+
2424
| Inherited | - `data`_ |
2525
| options | - `disabled`_ |
2626
| | - `empty_data`_ |
@@ -39,11 +39,6 @@ This field adds a percentage sign "``%``" after the input box.
3939
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\PercentType` |
4040
+-------------+-----------------------------------------------------------------------+
4141

42-
Overridden Options
43-
------------------
44-
45-
.. include:: /reference/forms/types/options/compound_type.rst.inc
46-
4742
Field Options
4843
-------------
4944

@@ -75,6 +70,11 @@ object. The two "types" handle these two cases:
7570
The raw value (``55``) is shown to the user and stored on your object.
7671
Note that this only works for integer values.
7772

73+
Overridden Options
74+
------------------
75+
76+
.. include:: /reference/forms/types/options/compound_type.rst.inc
77+
7878
Inherited Options
7979
-----------------
8080

reference/forms/types/text.rst

+8-8
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ The text field represents the most basic input text field.
99
+-------------+--------------------------------------------------------------------+
1010
| Rendered as | ``input`` ``text`` field |
1111
+-------------+--------------------------------------------------------------------+
12-
| Overridden | - `compound`_ |
13-
| options | |
14-
+-------------+--------------------------------------------------------------------+
1512
| Inherited | - `data`_ |
1613
| options | - `disabled`_ |
1714
| | - `empty_data`_ |
@@ -25,16 +22,14 @@ The text field represents the most basic input text field.
2522
| | - `required`_ |
2623
| | - `trim`_ |
2724
+-------------+--------------------------------------------------------------------+
25+
| Overridden | - `compound`_ |
26+
| options | |
27+
+-------------+--------------------------------------------------------------------+
2828
| Parent type | :doc:`form </reference/forms/types/form>` |
2929
+-------------+--------------------------------------------------------------------+
3030
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\TextType` |
3131
+-------------+--------------------------------------------------------------------+
3232

33-
Overridden Options
34-
------------------
35-
36-
.. include:: /reference/forms/types/options/compound_type.rst.inc
37-
3833
Inherited Options
3934
-----------------
4035

@@ -70,3 +65,8 @@ The default value is ``''`` (the empty string).
7065
.. include:: /reference/forms/types/options/required.rst.inc
7166

7267
.. include:: /reference/forms/types/options/trim.rst.inc
68+
69+
Overridden Options
70+
------------------
71+
72+
.. include:: /reference/forms/types/options/compound_type.rst.inc

0 commit comments

Comments
 (0)