Skip to content

Commit ef9e1bd

Browse files
Christopher Grossweaverryan
Christopher Gross
authored andcommitted
move title back and move description to separate file as suggested in PR #4892
1 parent 6b42685 commit ef9e1bd

File tree

5 files changed

+15
-17
lines changed

5 files changed

+15
-17
lines changed

Diff for: reference/forms/types/birthday.rst

-3
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@ These options inherit from the :doc:`date </reference/forms/types/date>` type:
7878

7979
.. include:: /reference/forms/types/options/view_timezone.rst.inc
8080

81-
widget
82-
~~~~~~
83-
8481
.. include:: /reference/forms/types/options/date_widget.rst.inc
8582

8683
These options inherit from the :doc:`form </reference/forms/types/form>` type:

Diff for: reference/forms/types/date.rst

-3
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,6 @@ Alternatively, you can specify a string to be displayed for the "blank" value::
115115

116116
.. include:: /reference/forms/types/options/view_timezone.rst.inc
117117

118-
widget
119-
~~~~~~
120-
121118
.. include:: /reference/forms/types/options/date_widget.rst.inc
122119

123120
.. include:: /reference/forms/types/options/years.rst.inc

Diff for: reference/forms/types/datetime.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ for more details.
6161
date_widget
6262
~~~~~~~~~~~
6363

64-
.. include:: /reference/forms/types/options/date_widget.rst.inc
64+
.. include:: /reference/forms/types/options/date_widget_description.rst.inc
6565

6666
.. include:: /reference/forms/types/options/days.rst.inc
6767

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

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
**type**: ``string`` **default**: ``choice``
1+
widget
2+
~~~~~~
23

3-
The basic way in which this field should be rendered. Can be one of the following:
4-
5-
* ``choice``: renders three select inputs. The order of the selects is defined
6-
in the `format`_ option.
7-
8-
* ``text``: renders a three field input of type ``text`` (month, day, year).
9-
10-
* ``single_text``: renders a single input of type ``date``. User's input is
11-
validated based on the `format`_ option.
4+
.. include:: /reference/forms/types/options/date_widget_description.rst.inc
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
**type**: ``string`` **default**: ``choice``
2+
3+
The basic way in which this field should be rendered. Can be one of the following:
4+
5+
* ``choice``: renders three select inputs. The order of the selects is defined
6+
in the `format`_ option.
7+
8+
* ``text``: renders a three field input of type ``text`` (month, day, year).
9+
10+
* ``single_text``: renders a single input of type ``date``. User's input is
11+
validated based on the `format`_ option.

0 commit comments

Comments
 (0)