Skip to content

Commit

Permalink
Documented Date(Time)Type variables
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Feb 18, 2014
1 parent 3bfdc20 commit 95540ca
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions reference/forms/types/date.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,8 @@ These options inherit from the :doc:`form </reference/forms/types/form>` type:
.. include:: /reference/forms/types/options/inherit_data.rst.inc

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

Field Variables
---------------

.. include:: /reference/forms/types/variables/date_table.rst.inc
5 changes: 5 additions & 0 deletions reference/forms/types/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,9 @@ These options inherit from the :doc:`form </reference/forms/types/form>` type:

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

Field Variables
---------------

.. include:: /reference/forms/types/variables/date_table.rst.inc

.. _`RFC 3339`: http://tools.ietf.org/html/rfc3339
8 changes: 8 additions & 0 deletions reference/forms/types/variables/date_table.rst.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
+----------+------------+----------------------------------------------------------------------+
| Variable | Type | Usage |
+==========+============+======================================================================+
| widget | ``mixed`` | The value of the `widget`_ option. |
+----------+------------+----------------------------------------------------------------------+
| type | ``string`` | Only present when widget is ``single_text`` and HTML5 is activated, |
| | | contains the input type to use (``datetime``, ``date`` or ``time``). |
+----------+------------+----------------------------------------------------------------------+

0 comments on commit 95540ca

Please sign in to comment.