Skip to content

[Reference][Forms] Improvements to the form type #3789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 10, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions reference/forms/types/form.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ The ``form`` type predefines a couple of options that are then available
on all types for which ``form`` is the parent type.

+-----------+--------------------------------------------------------------------+
| Options | - `compound`_ |
| | - `data`_ |
| Options | - `data`_ |
| | - `data_class`_ |
| | - `empty_data`_ |
| | - `compound`_ |
| | - `required`_ |
| | - `label_attr`_ |
| | - `constraints`_ |
Expand All @@ -30,6 +30,8 @@ on all types for which ``form`` is the parent type.
| | - `extra_fields_message`_ |
| | - `post_max_size_message`_ |
| | - `pattern`_ |
| | - `action`_ |
| | - `method`_ |
+-----------+--------------------------------------------------------------------+
| Inherited | - `block_name`_ |
| options | - `disabled`_ |
Expand All @@ -50,10 +52,6 @@ Options

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

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

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

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

.. include:: /reference/forms/types/options/compound.rst.inc
Expand Down
2 changes: 1 addition & 1 deletion reference/forms/types/options/compound.rst.inc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
compound
~~~~~~~~

**type**: ``boolean``
**type**: ``boolean`` **default**: ``true``

This option specifies if a form is compound. This is independent of whether the
form actually has children. A form can be compound but not have any children
Expand Down