From 0af354f60a856f1178c91eefbc62b29fc2f7c208 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Sat, 26 Jul 2014 21:54:19 +0200 Subject: [PATCH] fix parent form types The parent type of both the email type and the textarea type is not the form type but instead the text type. --- reference/forms/types/email.rst | 2 +- reference/forms/types/textarea.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/forms/types/email.rst b/reference/forms/types/email.rst index 33908563a9a..b27a919db92 100644 --- a/reference/forms/types/email.rst +++ b/reference/forms/types/email.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 ` | +| Parent type | :doc:`text ` | +-------------+---------------------------------------------------------------------+ | Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\EmailType` | +-------------+---------------------------------------------------------------------+ diff --git a/reference/forms/types/textarea.rst b/reference/forms/types/textarea.rst index da27d4e9efb..19e65434c57 100644 --- a/reference/forms/types/textarea.rst +++ b/reference/forms/types/textarea.rst @@ -22,7 +22,7 @@ Renders a ``textarea`` HTML element. | | - `error_mapping`_ | | | - `mapped`_ | +-------------+------------------------------------------------------------------------+ -| Parent type | :doc:`form ` | +| Parent type | :doc:`text ` | +-------------+------------------------------------------------------------------------+ | Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\TextareaType` | +-------------+------------------------------------------------------------------------+