File tree Expand file tree Collapse file tree 4 files changed +19
-5
lines changed Expand file tree Collapse file tree 4 files changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,10 @@ years ago to the current year.
1818+----------------------+------------------------------------------------------------------------------------------------------------------------+
1919| Rendered as | can be three select boxes or a text box, based on the ``widget `` option |
2020+----------------------+------------------------------------------------------------------------------------------------------------------------+
21- | Options | - ``widget `` |
22- | | - ``input `` |
23- | | - ``years `` |
21+ | Options | - ``years `` |
22+ +----------------------+------------------------------------------------------------------------------------------------------------------------+
23+ | Inherited | - ``widget `` |
24+ | options | - ``input `` |
2425| | - ``months `` |
2526| | - ``days `` |
2627| | - ``format `` |
@@ -36,6 +37,13 @@ years ago to the current year.
3637Options
3738-------
3839
40+ .. include :: /reference/forms/types/options/years_birthday.rst.inc
41+
42+ Inherited options
43+ -----------------
44+
45+ These options inherit from the parent dateType class.
46+
3947* ``widget `` [type: string, default: ``choice ``]
4048 Type of widget used for this form type. Can be ``text `` or ``choice ``.
4149
@@ -54,8 +62,6 @@ Options
5462
5563 array('month' => 4, 'day' => 21, 'year' => 2011 )
5664
57- .. include :: /reference/forms/types/options/years.rst.inc
58-
5965 .. include :: /reference/forms/types/options/months.rst.inc
6066
6167.. include :: /reference/forms/types/options/days.rst.inc
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ Options
3737 The value that's actually used as the value for the checkbox. This does
3838 not affect the value that's set on your object.
3939
40+ .. include :: /reference/forms/types/options/inherit_expl.rst.inc
41+
4042.. include :: /reference/forms/types/options/required.rst.inc
4143
4244.. include :: /reference/forms/types/options/label.rst.inc
Original file line number Diff line number Diff line change 1+ Inherited options
2+ -----------------
3+
4+ These options inherit from the parent fieldType class.
Original file line number Diff line number Diff line change 1+ * ``years`` [type : array , default: 120 years ago to the current year ]
2+ List of years available to the year field type . This option is only relevant when the ``widget`` option is set to ``choice``.
You can’t perform that action at this time.
0 commit comments