Permalink
Browse files

minor #4080 [Reference] order form type options alphabetically (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

[Reference] order form type options alphabetically

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets | related to #2360

Commits
-------

99ca7bf [Reference] order form type options alphabetically
  • Loading branch information...
weaverryan committed Aug 14, 2014
2 parents 7806aa7 + 99ca7bf commit 26141d68dfda0959ad75e17c5db51de399f97975
@@ -20,23 +20,28 @@ option defaults to 120 years ago to the current year.
+----------------------+-------------------------------------------------------------------------------+
| Rendered as | can be three select boxes or 1 or 3 text boxes, based on the `widget`_ option |
+----------------------+-------------------------------------------------------------------------------+
| Overridden Options | - `years`_ |
| Overridden options | - `years`_ |
+----------------------+-------------------------------------------------------------------------------+
| Inherited Options | - `widget`_ |
| | - `input`_ |
| | - `empty_value`_ |
| | - `months`_ |
| Inherited options | from the :doc:`date </reference/forms/types/date>` type: |
| | |
| | - `days`_ |
| | - `empty_value`_ |
| | - `format`_ |
| | - `input`_ |
| | - `model_timezone`_ |
| | - `months`_ |
| | - `view_timezone`_ |
| | - `widget`_ |
| | |
| | from the :doc:`form </reference/forms/types/form>` type: |
| | |
| | - `data`_ |
| | - `disabled`_ |
| | - `inherit_data`_ |
| | - `invalid_message`_ |
| | - `invalid_message_parameters`_ |
| | - `read_only`_ |
| | - `disabled`_ |
| | - `mapped`_ |
| | - `inherit_data`_ |
| | - `read_only`_ |
+----------------------+-------------------------------------------------------------------------------+
| Parent type | :doc:`date </reference/forms/types/date>` |
+----------------------+-------------------------------------------------------------------------------+
@@ -59,34 +64,34 @@ Inherited Options
These options inherit from the :doc:`date </reference/forms/types/date>` type:
.. include:: /reference/forms/types/options/date_widget.rst.inc
.. include:: /reference/forms/types/options/date_input.rst.inc
.. include:: /reference/forms/types/options/days.rst.inc
.. include:: /reference/forms/types/options/empty_value.rst.inc
.. include:: /reference/forms/types/options/months.rst.inc
.. include:: /reference/forms/types/options/days.rst.inc
.. include:: /reference/forms/types/options/date_format.rst.inc
.. include:: /reference/forms/types/options/date_input.rst.inc
.. include:: /reference/forms/types/options/model_timezone.rst.inc
.. include:: /reference/forms/types/options/months.rst.inc
.. include:: /reference/forms/types/options/view_timezone.rst.inc
.. include:: /reference/forms/types/options/date_widget.rst.inc
These options inherit from the :doc:`form </reference/forms/types/form>` type:
.. include:: /reference/forms/types/options/data.rst.inc
.. include:: /reference/forms/types/options/invalid_message.rst.inc
.. include:: /reference/forms/types/options/disabled.rst.inc
.. include:: /reference/forms/types/options/invalid_message_parameters.rst.inc
.. include:: /reference/forms/types/options/inherit_data.rst.inc
.. include:: /reference/forms/types/options/read_only.rst.inc
.. include:: /reference/forms/types/options/invalid_message.rst.inc
.. include:: /reference/forms/types/options/disabled.rst.inc
.. include:: /reference/forms/types/options/invalid_message_parameters.rst.inc
.. include:: /reference/forms/types/options/mapped.rst.inc
.. include:: /reference/forms/types/options/inherit_data.rst.inc
.. include:: /reference/forms/types/options/read_only.rst.inc
@@ -13,18 +13,18 @@ if the box is unchecked, the value will be set to false.
+-------------+------------------------------------------------------------------------+
| Options | - `value`_ |
+-------------+------------------------------------------------------------------------+
| Overridden | - `empty_data`_ |
| options | - `compound`_ |
| Overridden | - `compound`_ |
| options | - `empty_data`_ |
+-------------+------------------------------------------------------------------------+
| Inherited | - `data`_ |
| options | - `required`_ |
| | - `label`_ |
| | - `label_attr`_ |
| | - `read_only`_ |
| | - `disabled`_ |
| options | - `disabled`_ |
| | - `error_bubbling`_ |
| | - `error_mapping`_ |
| | - `label`_ |
| | - `label_attr`_ |
| | - `mapped`_ |
| | - `read_only`_ |
| | - `required`_ |
+-------------+------------------------------------------------------------------------+
| Parent type | :doc:`form </reference/forms/types/form>` |
+-------------+------------------------------------------------------------------------+
@@ -49,33 +49,33 @@ Field Options
Overridden Options
------------------
.. include:: /reference/forms/types/options/checkbox_empty_data.rst.inc
.. include:: /reference/forms/types/options/checkbox_compound.rst.inc
.. include:: /reference/forms/types/options/checkbox_empty_data.rst.inc
Inherited Options
-----------------
These options inherit from the :doc:`form </reference/forms/types/form>` type:
.. include:: /reference/forms/types/options/data.rst.inc
.. include:: /reference/forms/types/options/required.rst.inc
.. include:: /reference/forms/types/options/label.rst.inc
.. include:: /reference/forms/types/options/label_attr.rst.inc
.. include:: /reference/forms/types/options/read_only.rst.inc
.. include:: /reference/forms/types/options/disabled.rst.inc
.. include:: /reference/forms/types/options/error_bubbling.rst.inc
.. include:: /reference/forms/types/options/error_mapping.rst.inc
.. include:: /reference/forms/types/options/label.rst.inc
.. include:: /reference/forms/types/options/label_attr.rst.inc
.. include:: /reference/forms/types/options/mapped.rst.inc
.. include:: /reference/forms/types/options/read_only.rst.inc
.. include:: /reference/forms/types/options/required.rst.inc
Form Variables
--------------
@@ -15,25 +15,25 @@ option.
+-------------+------------------------------------------------------------------------------+
| Options | - `choices`_ |
| | - `choice_list`_ |
| | - `multiple`_ |
| | - `empty_value`_ |
| | - `expanded`_ |
| | - `multiple`_ |
| | - `preferred_choices`_ |
| | - `empty_value`_ |
+-------------+------------------------------------------------------------------------------+
| Overridden | - `empty_data`_ |
| options | - `compound`_ |
| Overridden | - `compound`_ |
| options | - `empty_data`_ |
| | - `error_bubbling`_ |
+-------------+------------------------------------------------------------------------------+
| Inherited | - `required`_ |
| options | - `label`_ |
| | - `label_attr`_ |
| | - `data`_ |
| | - `read_only`_ |
| Inherited | - `by_reference`_ |
| options | - `data`_ |
| | - `disabled`_ |
| | - `error_mapping`_ |
| | - `mapped`_ |
| | - `inherit_data`_ |
| | - `by_reference`_ |
| | - `label`_ |
| | - `label_attr`_ |
| | - `mapped`_ |
| | - `read_only`_ |
| | - `required`_ |
+-------------+------------------------------------------------------------------------------+
| Parent type | :doc:`form </reference/forms/types/form>` |
+-------------+------------------------------------------------------------------------------+
@@ -103,17 +103,25 @@ The ``choice_list`` option must be an instance of the ``ChoiceListInterface``.
For more advanced cases, a custom class that implements the interface
can be created to supply the choices.
.. include:: /reference/forms/types/options/multiple.rst.inc
.. include:: /reference/forms/types/options/empty_value.rst.inc
.. include:: /reference/forms/types/options/expanded.rst.inc
.. include:: /reference/forms/types/options/preferred_choices.rst.inc
.. include:: /reference/forms/types/options/multiple.rst.inc
.. include:: /reference/forms/types/options/empty_value.rst.inc
.. include:: /reference/forms/types/options/preferred_choices.rst.inc
Overridden Options
------------------
compound
~~~~~~~~
**type**: ``boolean`` **default**: same value as ``expanded`` option
This option specifies if a form is compound. The value is by default
overridden by the value of the ``expanded`` option.
.. include:: /reference/forms/types/options/empty_data.rst.inc
:end-before: DEFAULT_PLACEHOLDER
@@ -126,14 +134,6 @@ The actual default value of this option depends on other field options:
.. include:: /reference/forms/types/options/empty_data.rst.inc
:start-after: DEFAULT_PLACEHOLDER
compound
~~~~~~~~
**type**: ``boolean`` **default**: same value as ``expanded`` option
This option specifies if a form is compound. The value is by default
overridden by the value of the ``expanded`` option.
error_bubbling
~~~~~~~~~~~~~~
@@ -147,25 +147,25 @@ Inherited Options
These options inherit from the :doc:`form </reference/forms/types/form>` type:
.. include:: /reference/forms/types/options/required.rst.inc
.. include:: /reference/forms/types/options/label.rst.inc
.. include:: /reference/forms/types/options/label_attr.rst.inc
.. include:: /reference/forms/types/options/by_reference.rst.inc
.. include:: /reference/forms/types/options/data.rst.inc
.. include:: /reference/forms/types/options/read_only.rst.inc
.. include:: /reference/forms/types/options/disabled.rst.inc
.. include:: /reference/forms/types/options/error_mapping.rst.inc
.. include:: /reference/forms/types/options/inherit_data.rst.inc
.. include:: /reference/forms/types/options/label.rst.inc
.. include:: /reference/forms/types/options/label_attr.rst.inc
.. include:: /reference/forms/types/options/mapped.rst.inc
.. include:: /reference/forms/types/options/inherit_data.rst.inc
.. include:: /reference/forms/types/options/read_only.rst.inc
.. include:: /reference/forms/types/options/by_reference.rst.inc
.. include:: /reference/forms/types/options/required.rst.inc
Field Variables
---------------
Oops, something went wrong.

0 comments on commit 26141d6

Please sign in to comment.