Skip to content

Commit 97d216d

Browse files
committed
Documented TimeType variables
1 parent 8b5ecf9 commit 97d216d

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

reference/forms/types/time.rst

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,18 @@ These options inherit from the :doc:`form </reference/forms/types/form>` type:
167167

168168
.. include:: /reference/forms/types/options/error_mapping.rst.inc
169169

170-
Field Variables
171-
---------------
172-
173-
.. include:: /reference/forms/types/variables/date_table.rst.inc
170+
Form Variables
171+
--------------
172+
173+
+--------------+-------------+----------------------------------------------------------------------+
174+
| Variable | Type | Usage |
175+
+==============+=============+======================================================================+
176+
| widget | ``mixed`` | The value of the `widget`_ option. |
177+
+--------------+-------------+----------------------------------------------------------------------+
178+
| with_minutes | ``Boolean`` | The value of the `with_minutes`_ option. |
179+
+--------------+-------------+----------------------------------------------------------------------+
180+
| with_seconds | ``Boolean`` | The value of the `with_seconds`_ option. |
181+
+--------------+-------------+----------------------------------------------------------------------+
182+
| type | ``string`` | Only present when widget is ``single_text`` and HTML5 is activated, |
183+
| | | contains the input type to use (``datetime``, ``date`` or ``time``). |
184+
+--------------+-------------+----------------------------------------------------------------------+

0 commit comments

Comments
 (0)