Skip to content

Commit

Permalink
Fixed the order of the different options
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Jun 4, 2015
1 parent 0a5781b commit e14b650
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions reference/forms/types/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ the data can be a ``DateTime`` object, a string, a timestamp or an array.
+----------------------+-----------------------------------------------------------------------------+
| Rendered as | single text box or three select fields |
+----------------------+-----------------------------------------------------------------------------+
| Overridden options | - `by_reference`_ |
| | - `compound`_ |
| | - `data_class`_ |
| | - `error_bubbling`_ |
+----------------------+-----------------------------------------------------------------------------+
| Options | - `date_format`_ |
| | - `date_widget`_ |
| | - `days`_ |
Expand All @@ -38,6 +33,11 @@ the data can be a ``DateTime`` object, a string, a timestamp or an array.
| | - `with_seconds`_ |
| | - `years`_ |
+----------------------+-----------------------------------------------------------------------------+
| Overridden options | - `by_reference`_ |
| | - `compound`_ |
| | - `data_class`_ |
| | - `error_bubbling`_ |
+----------------------+-----------------------------------------------------------------------------+
| Inherited | - `data`_ |
| options | - `disabled`_ |
| | - `inherit_data`_ |
Expand All @@ -51,25 +51,6 @@ the data can be a ``DateTime`` object, a string, a timestamp or an array.
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\DateTimeType` |
+----------------------+-----------------------------------------------------------------------------+

Overridden Options
------------------

by_reference
~~~~~~~~~~~~

**default**: ``false``

The ``DateTime`` classes are treated as immutable objects.

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

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

error_bubbling
~~~~~~~~~~~~~~

**default**: ``false``

Field Options
-------------

Expand Down Expand Up @@ -155,6 +136,25 @@ with the `date_widget`_ and `time_widget`_ options.

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

Overridden Options
------------------

by_reference
~~~~~~~~~~~~

**default**: ``false``

The ``DateTime`` classes are treated as immutable objects.

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

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

error_bubbling
~~~~~~~~~~~~~~

**default**: ``false``

Inherited Options
-----------------

Expand Down

0 comments on commit e14b650

Please sign in to comment.