diff --git a/reference/forms/types/date.rst b/reference/forms/types/date.rst index b6f25b4f83a..0304b7800db 100644 --- a/reference/forms/types/date.rst +++ b/reference/forms/types/date.rst @@ -158,4 +158,13 @@ These options inherit from the :doc:`form ` type: Field Variables --------------- -.. include:: /reference/forms/types/variables/date_table.rst.inc ++--------------+------------+----------------------------------------------------------------------+ +| 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``). | ++--------------+------------+----------------------------------------------------------------------+ +| date_pattern | ``string`` | A string with the date format to use. | ++--------------+------------+----------------------------------------------------------------------+ diff --git a/reference/forms/types/datetime.rst b/reference/forms/types/datetime.rst index 159b81021d4..4abc048ee5f 100644 --- a/reference/forms/types/datetime.rst +++ b/reference/forms/types/datetime.rst @@ -154,6 +154,13 @@ These options inherit from the :doc:`form ` type: Field Variables --------------- -.. include:: /reference/forms/types/variables/date_table.rst.inc ++----------+------------+----------------------------------------------------------------------+ +| 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``). | ++----------+------------+----------------------------------------------------------------------+ .. _`RFC 3339`: http://tools.ietf.org/html/rfc3339 diff --git a/reference/forms/types/time.rst b/reference/forms/types/time.rst index 49a40782ae5..e90819f0841 100644 --- a/reference/forms/types/time.rst +++ b/reference/forms/types/time.rst @@ -166,3 +166,8 @@ These options inherit from the :doc:`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 diff --git a/reference/forms/types/variables/date_table.rst.inc b/reference/forms/types/variables/date_table.rst.inc deleted file mode 100644 index 6ed17489800..00000000000 --- a/reference/forms/types/variables/date_table.rst.inc +++ /dev/null @@ -1,8 +0,0 @@ -+----------+------------+----------------------------------------------------------------------+ -| 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``). | -+----------+------------+----------------------------------------------------------------------+