Skip to content

Commit 95540ca

Browse files
committed
Documented Date(Time)Type variables
1 parent 3bfdc20 commit 95540ca

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

reference/forms/types/date.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,8 @@ These options inherit from the :doc:`form </reference/forms/types/form>` type:
154154
.. include:: /reference/forms/types/options/inherit_data.rst.inc
155155

156156
.. include:: /reference/forms/types/options/error_mapping.rst.inc
157+
158+
Field Variables
159+
---------------
160+
161+
.. include:: /reference/forms/types/variables/date_table.rst.inc

reference/forms/types/datetime.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,9 @@ These options inherit from the :doc:`form </reference/forms/types/form>` type:
151151

152152
.. include:: /reference/forms/types/options/inherit_data.rst.inc
153153

154+
Field Variables
155+
---------------
156+
157+
.. include:: /reference/forms/types/variables/date_table.rst.inc
158+
154159
.. _`RFC 3339`: http://tools.ietf.org/html/rfc3339
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
+----------+------------+----------------------------------------------------------------------+
2+
| Variable | Type | Usage |
3+
+==========+============+======================================================================+
4+
| widget | ``mixed`` | The value of the `widget`_ option. |
5+
+----------+------------+----------------------------------------------------------------------+
6+
| type | ``string`` | Only present when widget is ``single_text`` and HTML5 is activated, |
7+
| | | contains the input type to use (``datetime``, ``date`` or ``time``). |
8+
+----------+------------+----------------------------------------------------------------------+

0 commit comments

Comments
 (0)