Permalink
Browse files

bug #4063 fix parent form types (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

fix parent form types

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

The parent type of both the email type and the textarea type is not the form type but instead the text type.

Commits
-------

0af354f fix parent form types
  • Loading branch information...
weaverryan committed Jul 31, 2014
2 parents a4bdb97 + 0af354f commit 1b695b52a3f8094daf18d212a124a6050f2fad1a
Showing with 2 additions and 2 deletions.
  1. +1 −1 reference/forms/types/email.rst
  2. +1 −1 reference/forms/types/textarea.rst
@@ -23,7 +23,7 @@ The ``email`` field is a text field that is rendered using the HTML5
| | - `error_mapping`_ |
| | - `mapped`_ |
+-------------+---------------------------------------------------------------------+
| Parent type | :doc:`form </reference/forms/types/form>` |
| Parent type | :doc:`text </reference/forms/types/text>` |
+-------------+---------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\EmailType` |
+-------------+---------------------------------------------------------------------+
@@ -22,7 +22,7 @@ Renders a ``textarea`` HTML element.
| | - `error_mapping`_ |
| | - `mapped`_ |
+-------------+------------------------------------------------------------------------+
| Parent type | :doc:`form </reference/forms/types/form>` |
| Parent type | :doc:`text </reference/forms/types/text>` |
+-------------+------------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\TextareaType` |
+-------------+------------------------------------------------------------------------+

0 comments on commit 1b695b5

Please sign in to comment.