From 45c8cd43c194a6af35acfaac507c82ea717ea034 Mon Sep 17 00:00:00 2001 From: Mathieu Piot Date: Wed, 28 Feb 2018 10:21:19 +0100 Subject: [PATCH 1/7] Add help option to FormType --- reference/forms/types/birthday.rst | 3 +++ reference/forms/types/checkbox.rst | 3 +++ reference/forms/types/choice.rst | 3 +++ reference/forms/types/color.rst | 3 +++ reference/forms/types/country.rst | 3 +++ reference/forms/types/currency.rst | 3 +++ reference/forms/types/date.rst | 3 +++ reference/forms/types/dateinterval.rst | 3 +++ reference/forms/types/datetime.rst | 3 +++ reference/forms/types/email.rst | 3 +++ reference/forms/types/entity.rst | 3 +++ reference/forms/types/file.rst | 3 +++ reference/forms/types/form.rst | 3 +++ reference/forms/types/integer.rst | 3 +++ reference/forms/types/language.rst | 3 +++ reference/forms/types/locale.rst | 3 +++ reference/forms/types/money.rst | 3 +++ reference/forms/types/number.rst | 3 +++ reference/forms/types/options/help.rst.inc | 10 ++++++++++ reference/forms/types/password.rst | 3 +++ reference/forms/types/percent.rst | 3 +++ reference/forms/types/radio.rst | 3 +++ reference/forms/types/range.rst | 3 +++ reference/forms/types/search.rst | 3 +++ reference/forms/types/tel.rst | 3 +++ reference/forms/types/text.rst | 3 +++ reference/forms/types/textarea.rst | 3 +++ reference/forms/types/time.rst | 3 +++ reference/forms/types/timezone.rst | 3 +++ reference/forms/types/url.rst | 3 +++ 30 files changed, 97 insertions(+) create mode 100644 reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/birthday.rst b/reference/forms/types/birthday.rst index 056fe21ad3e..661df396f4b 100644 --- a/reference/forms/types/birthday.rst +++ b/reference/forms/types/birthday.rst @@ -42,6 +42,7 @@ option defaults to 120 years ago to the current year. | | - `invalid_message`_ | | | - `invalid_message_parameters`_ | | | - `mapped`_ | +| | - `help`_ | +----------------------+-------------------------------------------------------------------------------+ | Parent type | :doc:`DateType ` | +----------------------+-------------------------------------------------------------------------------+ @@ -115,3 +116,5 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/invalid_message_parameters.rst.inc .. include:: /reference/forms/types/options/mapped.rst.inc + +.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/checkbox.rst b/reference/forms/types/checkbox.rst index 8f87683f180..b08d45b7614 100644 --- a/reference/forms/types/checkbox.rst +++ b/reference/forms/types/checkbox.rst @@ -25,6 +25,7 @@ true, if the box is unchecked, the value will be set to false. | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | +| | - `help`_ | +-------------+------------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +-------------+------------------------------------------------------------------------+ @@ -79,6 +80,8 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/required.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + Form Variables -------------- diff --git a/reference/forms/types/choice.rst b/reference/forms/types/choice.rst index a2790af5c0d..929199f750b 100644 --- a/reference/forms/types/choice.rst +++ b/reference/forms/types/choice.rst @@ -41,6 +41,7 @@ To use this field, you must specify *either* ``choices`` or ``choice_loader`` op | | - `mapped`_ | | | - `required`_ | | | - `translation_domain`_ | +| | - `help`_ | +-------------+------------------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +-------------+------------------------------------------------------------------------------+ @@ -278,6 +279,8 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/choice_type_translation_domain.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + Field Variables --------------- diff --git a/reference/forms/types/color.rst b/reference/forms/types/color.rst index dd7c39923ad..be6c484019a 100644 --- a/reference/forms/types/color.rst +++ b/reference/forms/types/color.rst @@ -28,6 +28,7 @@ element. | | - `mapped`_ | | | - `required`_ | | | - `trim`_ | +| | - `help`_ | +-------------+---------------------------------------------------------------------+ | Parent type | :doc:`TextType ` | +-------------+---------------------------------------------------------------------+ @@ -66,3 +67,5 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/required.rst.inc .. include:: /reference/forms/types/options/trim.rst.inc + +.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/country.rst b/reference/forms/types/country.rst index 0e2d35aeda2..b2a2fc25c55 100644 --- a/reference/forms/types/country.rst +++ b/reference/forms/types/country.rst @@ -43,6 +43,7 @@ the option manually, but then you should just use the ``ChoiceType`` directly. | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | +| | - `help`_ | +-------------+-----------------------------------------------------------------------+ | Parent type | :doc:`ChoiceType ` | +-------------+-----------------------------------------------------------------------+ @@ -109,3 +110,5 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/mapped.rst.inc .. include:: /reference/forms/types/options/required.rst.inc + +.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/currency.rst b/reference/forms/types/currency.rst index af0f623a3b7..a6abf289d20 100644 --- a/reference/forms/types/currency.rst +++ b/reference/forms/types/currency.rst @@ -35,6 +35,7 @@ manually, but then you should just use the ``ChoiceType`` directly. | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | +| | - `help`_ | +-------------+------------------------------------------------------------------------+ | Parent type | :doc:`ChoiceType ` | +-------------+------------------------------------------------------------------------+ @@ -99,4 +100,6 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/required.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. _`3-letter ISO 4217`: https://en.wikipedia.org/wiki/ISO_4217 diff --git a/reference/forms/types/date.rst b/reference/forms/types/date.rst index feca602bac1..f58ebabb851 100644 --- a/reference/forms/types/date.rst +++ b/reference/forms/types/date.rst @@ -39,6 +39,7 @@ and can understand a number of different input formats via the `input`_ option. | | - `invalid_message`_ | | | - `invalid_message_parameters`_ | | | - `mapped`_ | +| | - `help`_ | +----------------------+-----------------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +----------------------+-----------------------------------------------------------------------------+ @@ -214,6 +215,8 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/mapped.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + Field Variables --------------- diff --git a/reference/forms/types/dateinterval.rst b/reference/forms/types/dateinterval.rst index fdd6a6f19ac..9c3e4e26c6b 100644 --- a/reference/forms/types/dateinterval.rst +++ b/reference/forms/types/dateinterval.rst @@ -43,6 +43,7 @@ or an array (see `input`_). | | - `invalid_message`_ | | | - `invalid_message_parameters`_ | | | - `mapped`_ | +| | - `help`_ | +----------------------+----------------------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +----------------------+----------------------------------------------------------------------------------+ @@ -315,6 +316,8 @@ These options inherit from the :doc:`form ` type: .. include:: /reference/forms/types/options/mapped.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + Field Variables --------------- diff --git a/reference/forms/types/datetime.rst b/reference/forms/types/datetime.rst index 5791ef15bfb..8c2d4c022cf 100644 --- a/reference/forms/types/datetime.rst +++ b/reference/forms/types/datetime.rst @@ -46,6 +46,7 @@ the data can be a ``DateTime`` object, a string, a timestamp or an array. | | - `invalid_message`_ | | | - `invalid_message_parameters`_ | | | - `mapped`_ | +| | - `help`_ | +----------------------+-----------------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +----------------------+-----------------------------------------------------------------------------+ @@ -202,6 +203,8 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/mapped.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + Field Variables --------------- diff --git a/reference/forms/types/email.rst b/reference/forms/types/email.rst index 70ee3e6036e..bb555cb60db 100644 --- a/reference/forms/types/email.rst +++ b/reference/forms/types/email.rst @@ -21,6 +21,7 @@ The ``EmailType`` field is a text field that is rendered using the HTML5 | | - `mapped`_ | | | - `required`_ | | | - `trim`_ | +| | - `help`_ | +-------------+---------------------------------------------------------------------+ | Parent type | :doc:`TextType ` | +-------------+---------------------------------------------------------------------+ @@ -59,3 +60,5 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/required.rst.inc .. include:: /reference/forms/types/options/trim.rst.inc + +.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/entity.rst b/reference/forms/types/entity.rst index c323d4a2b6b..6fdbcea911c 100644 --- a/reference/forms/types/entity.rst +++ b/reference/forms/types/entity.rst @@ -45,6 +45,7 @@ objects from the database. | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | +| | - `help`_ | +-------------+------------------------------------------------------------------+ | Parent type | :doc:`ChoiceType ` | +-------------+------------------------------------------------------------------+ @@ -312,3 +313,5 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/mapped.rst.inc .. include:: /reference/forms/types/options/required.rst.inc + +.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/file.rst b/reference/forms/types/file.rst index 9a62063eaf1..0d36d3f35c7 100644 --- a/reference/forms/types/file.rst +++ b/reference/forms/types/file.rst @@ -23,6 +23,7 @@ The ``FileType`` represents a file input in your form. | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | +| | - `help`_ | +-------------+---------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +-------------+---------------------------------------------------------------------+ @@ -134,6 +135,8 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/required.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + Form Variables -------------- diff --git a/reference/forms/types/form.rst b/reference/forms/types/form.rst index b71fb0d658e..8d3cd43c4cf 100644 --- a/reference/forms/types/form.rst +++ b/reference/forms/types/form.rst @@ -30,6 +30,7 @@ on all types for which ``FormType`` is the parent. | | - `property_path`_ | | | - `required`_ | | | - `trim`_ | +| | - `help`_ | +-----------+--------------------------------------------------------------------+ | Inherited | - `attr`_ | | options | - `auto_initialize`_ | @@ -128,6 +129,8 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/trim.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + Inherited Options ----------------- diff --git a/reference/forms/types/integer.rst b/reference/forms/types/integer.rst index 1b87d8f690e..14421a4b3cf 100644 --- a/reference/forms/types/integer.rst +++ b/reference/forms/types/integer.rst @@ -35,6 +35,7 @@ integers. By default, all non-integer values (e.g. 6.78) will round down | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | +| | - `help`_ | +-------------+-----------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +-------------+-----------------------------------------------------------------------+ @@ -116,3 +117,5 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/mapped.rst.inc .. include:: /reference/forms/types/options/required.rst.inc + +.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/language.rst b/reference/forms/types/language.rst index b197405ccf9..c31d7d05ae0 100644 --- a/reference/forms/types/language.rst +++ b/reference/forms/types/language.rst @@ -45,6 +45,7 @@ manually, but then you should just use the ``ChoiceType`` directly. | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | +| | - `help`_ | +-------------+------------------------------------------------------------------------+ | Parent type | :doc:`ChoiceType ` | +-------------+------------------------------------------------------------------------+ @@ -112,4 +113,6 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/required.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. _`International Components for Unicode`: http://site.icu-project.org diff --git a/reference/forms/types/locale.rst b/reference/forms/types/locale.rst index 5a332e4c1f9..e548825a668 100644 --- a/reference/forms/types/locale.rst +++ b/reference/forms/types/locale.rst @@ -46,6 +46,7 @@ manually, but then you should just use the ``ChoiceType`` directly. | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | +| | - `help`_ | +-------------+------------------------------------------------------------------------+ | Parent type | :doc:`ChoiceType ` | +-------------+------------------------------------------------------------------------+ @@ -113,5 +114,7 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/required.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. _`ISO 639-1`: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes .. _`ISO 3166-1 alpha-2`: https://en.wikipedia.org/wiki/ISO_3166-1#Current_codes diff --git a/reference/forms/types/money.rst b/reference/forms/types/money.rst index 3f6af5941ef..2560e705c9c 100644 --- a/reference/forms/types/money.rst +++ b/reference/forms/types/money.rst @@ -34,6 +34,7 @@ how the input and output of the data is handled. | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | +| | - `help`_ | +-------------+---------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +-------------+---------------------------------------------------------------------+ @@ -129,6 +130,8 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/required.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + Form Variables -------------- diff --git a/reference/forms/types/number.rst b/reference/forms/types/number.rst index 843ef81e51e..1689f07a7f3 100644 --- a/reference/forms/types/number.rst +++ b/reference/forms/types/number.rst @@ -30,6 +30,7 @@ that you want to use for your number. | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | +| | - `help`_ | +-------------+----------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +-------------+----------------------------------------------------------------------+ @@ -111,3 +112,5 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/mapped.rst.inc .. include:: /reference/forms/types/options/required.rst.inc + +.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/options/help.rst.inc b/reference/forms/types/options/help.rst.inc new file mode 100644 index 00000000000..a27f34749e2 --- /dev/null +++ b/reference/forms/types/options/help.rst.inc @@ -0,0 +1,10 @@ +help +~~~~ + +**type**: ``string`` **default**: null + +Allows you to define a help text below the form field. + + $builder->add('name', null, array( + 'help' => 'My helper message.', + )); diff --git a/reference/forms/types/password.rst b/reference/forms/types/password.rst index b2491a31015..3929cb0356f 100644 --- a/reference/forms/types/password.rst +++ b/reference/forms/types/password.rst @@ -23,6 +23,7 @@ The ``PasswordType`` field renders an input password text box. | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | +| | - `help`_ | +-------------+------------------------------------------------------------------------+ | Parent type | :doc:`TextType ` | +-------------+------------------------------------------------------------------------+ @@ -86,3 +87,5 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/mapped.rst.inc .. include:: /reference/forms/types/options/required.rst.inc + +.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/percent.rst b/reference/forms/types/percent.rst index c06e97dd17a..2039d0d8960 100644 --- a/reference/forms/types/percent.rst +++ b/reference/forms/types/percent.rst @@ -32,6 +32,7 @@ This field adds a percentage sign "``%``" after the input box. | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | +| | - `help`_ | +-------------+-----------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +-------------+-----------------------------------------------------------------------+ @@ -108,3 +109,5 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/mapped.rst.inc .. include:: /reference/forms/types/options/required.rst.inc + +.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/radio.rst b/reference/forms/types/radio.rst index 87cbbdfda5a..c292da63c89 100644 --- a/reference/forms/types/radio.rst +++ b/reference/forms/types/radio.rst @@ -32,6 +32,7 @@ If you want to have a boolean field, use :doc:`CheckboxType ` | +-------------+---------------------------------------------------------------------+ @@ -67,6 +68,8 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/required.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + Form Variables -------------- diff --git a/reference/forms/types/range.rst b/reference/forms/types/range.rst index a59082adb78..298e4f2a500 100644 --- a/reference/forms/types/range.rst +++ b/reference/forms/types/range.rst @@ -21,6 +21,7 @@ The ``RangeType`` field is a slider that is rendered using the HTML5 | | - `mapped`_ | | | - `required`_ | | | - `trim`_ | +| | - `help`_ | +-------------+---------------------------------------------------------------------+ | Parent type | :doc:`TextType ` | +-------------+---------------------------------------------------------------------+ @@ -74,3 +75,5 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/required.rst.inc .. include:: /reference/forms/types/options/trim.rst.inc + +.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/search.rst b/reference/forms/types/search.rst index 37f7f69da44..98ee03f524d 100644 --- a/reference/forms/types/search.rst +++ b/reference/forms/types/search.rst @@ -22,6 +22,7 @@ Read about the input search field at `DiveIntoHTML5.info`_ | | - `mapped`_ | | | - `required`_ | | | - `trim`_ | +| | - `help`_ | +-------------+----------------------------------------------------------------------+ | Parent type | :doc:`TextType ` | +-------------+----------------------------------------------------------------------+ @@ -59,4 +60,6 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/trim.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. _`DiveIntoHTML5.info`: http://diveintohtml5.info/forms.html#type-search diff --git a/reference/forms/types/tel.rst b/reference/forms/types/tel.rst index a409978b7ad..a8c448387b5 100644 --- a/reference/forms/types/tel.rst +++ b/reference/forms/types/tel.rst @@ -27,6 +27,7 @@ to input phone numbers. | | - `mapped`_ | | | - `required`_ | | | - `trim`_ | +| | - `help`_ | +-------------+---------------------------------------------------------------------+ | Parent type | :doc:`TextType ` | +-------------+---------------------------------------------------------------------+ @@ -65,3 +66,5 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/required.rst.inc .. include:: /reference/forms/types/options/trim.rst.inc + +.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/text.rst b/reference/forms/types/text.rst index fd61506659d..66e8be16e57 100644 --- a/reference/forms/types/text.rst +++ b/reference/forms/types/text.rst @@ -20,6 +20,7 @@ The TextType field represents the most basic input text field. | | - `mapped`_ | | | - `required`_ | | | - `trim`_ | +| | - `help`_ | +-------------+--------------------------------------------------------------------+ | Overridden | - `compound`_ | | options | | @@ -62,6 +63,8 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/trim.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + Overridden Options ------------------ diff --git a/reference/forms/types/textarea.rst b/reference/forms/types/textarea.rst index 7a811a5f67d..ed4437191e6 100644 --- a/reference/forms/types/textarea.rst +++ b/reference/forms/types/textarea.rst @@ -21,6 +21,7 @@ Renders a ``textarea`` HTML element. | | - `mapped`_ | | | - `required`_ | | | - `trim`_ | +| | - `help`_ | +-------------+------------------------------------------------------------------------+ | Parent type | :doc:`TextType ` | +-------------+------------------------------------------------------------------------+ @@ -68,4 +69,6 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/trim.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. _`its documentation`: https://symfony.com/doc/current/bundles/IvoryCKEditorBundle/index.html diff --git a/reference/forms/types/time.rst b/reference/forms/types/time.rst index e6b766f8b91..08cd8f78860 100644 --- a/reference/forms/types/time.rst +++ b/reference/forms/types/time.rst @@ -40,6 +40,7 @@ stored as a ``DateTime`` object, a string, a timestamp or an array. | | - `invalid_message`_ | | | - `invalid_message_parameters`_ | | | - `mapped`_ | +| | - `help`_ | +----------------------+-----------------------------------------------------------------------------+ | Parent type | FormType | +----------------------+-----------------------------------------------------------------------------+ @@ -201,6 +202,8 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/mapped.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + Form Variables -------------- diff --git a/reference/forms/types/timezone.rst b/reference/forms/types/timezone.rst index 46ff16cd949..09ccbb67a92 100644 --- a/reference/forms/types/timezone.rst +++ b/reference/forms/types/timezone.rst @@ -42,6 +42,7 @@ manually, but then you should just use the ``ChoiceType`` directly. | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | +| | - `help`_ | +-------------+------------------------------------------------------------------------+ | Parent type | :doc:`ChoiceType ` | +-------------+------------------------------------------------------------------------+ @@ -129,3 +130,5 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/mapped.rst.inc .. include:: /reference/forms/types/options/required.rst.inc + +.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/url.rst b/reference/forms/types/url.rst index 8c58f007e1d..43c629b35e5 100644 --- a/reference/forms/types/url.rst +++ b/reference/forms/types/url.rst @@ -24,6 +24,7 @@ have a protocol. | | - `mapped`_ | | | - `required`_ | | | - `trim`_ | +| | - `help`_ | +-------------+-------------------------------------------------------------------+ | Parent type | :doc:`TextType ` | +-------------+-------------------------------------------------------------------+ @@ -74,3 +75,5 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/required.rst.inc .. include:: /reference/forms/types/options/trim.rst.inc + +.. include:: /reference/forms/types/options/help.rst.inc From bd45c77949437c139b0c825995c32fa0ee32d6ec Mon Sep 17 00:00:00 2001 From: Mathieu Piot Date: Wed, 28 Feb 2018 10:43:08 +0100 Subject: [PATCH 2/7] Add form_help to doc --- form/form_customization.rst | 3 +++ form/form_themes.rst | 3 +++ form/rendering.rst | 2 ++ reference/twig_reference.rst | 12 ++++++++++++ 4 files changed, 20 insertions(+) diff --git a/form/form_customization.rst b/form/form_customization.rst index f50325bfc09..c1a3ee32061 100644 --- a/form/form_customization.rst +++ b/form/form_customization.rst @@ -36,6 +36,7 @@ You can also render each of the three parts of the field individually: {{ form_label(form.age) }} {{ form_errors(form.age) }} {{ form_widget(form.age) }} + {{ form_help(form.age) }} .. code-block:: php @@ -796,6 +797,7 @@ You can also override the markup for an entire field row using the same method: {{ form_label(form) }} {{ form_errors(form) }} {{ form_widget(form) }} + {{ form_help(form) }} {% endblock %} @@ -1024,6 +1026,7 @@ class to the ``div`` element around each row: {{ form_label(form) }} {{ form_errors(form) }} {{ form_widget(form) }} + {{ form_help(form) }} {% endblock form_row %} diff --git a/form/form_themes.rst b/form/form_themes.rst index dbc9f35bc0c..be31bd31a3b 100644 --- a/form/form_themes.rst +++ b/form/form_themes.rst @@ -35,6 +35,7 @@ do this, create a new template file that will store the new markup: {{ form_label(form) }} {{ form_errors(form) }} {{ form_widget(form) }} + {{ form_help(form) }} {% endspaceless %} {% endblock form_row %} @@ -135,6 +136,8 @@ are 4 possible *parts* of a form that can be rendered: +-------------+----------------------------+---------------------------------------------------------+ | ``errors`` | (e.g. ``form_errors()``) | renders the field's errors | +-------------+----------------------------+---------------------------------------------------------+ +| ``help`` | (e.g. ``form_help()``) | renders the field's help | ++-------------+----------------------------+---------------------------------------------------------+ | ``row`` | (e.g. ``form_row()``) | renders the field's entire row (label, widget & errors) | +-------------+----------------------------+---------------------------------------------------------+ diff --git a/form/rendering.rst b/form/rendering.rst index 5483a33748a..162227d7a45 100644 --- a/form/rendering.rst +++ b/form/rendering.rst @@ -82,12 +82,14 @@ used the ``form_row()`` helper: {{ form_label(form.task) }} {{ form_errors(form.task) }} {{ form_widget(form.task) }} + {{ form_help(form.task) }}
{{ form_label(form.dueDate) }} {{ form_errors(form.dueDate) }} {{ form_widget(form.dueDate) }} + {{ form_help(form.dueDate) }}
diff --git a/reference/twig_reference.rst b/reference/twig_reference.rst index 0d802775b01..cbe5424c0f2 100644 --- a/reference/twig_reference.rst +++ b/reference/twig_reference.rst @@ -232,6 +232,18 @@ form_label Renders the label for the given field, more information in :ref:`the Twig Form reference `. +form_help +~~~~~~~~~~ + +.. code-block:: twig + + {{ form_help(view) }} + +``view`` + **type**: ``FormView`` + +Renders the text help for the given field. + form_row ~~~~~~~~ From dd7f987a40403e72c572ba059edaec72e35a5672 Mon Sep 17 00:00:00 2001 From: Mathieu Piot Date: Fri, 16 Mar 2018 13:14:47 +0100 Subject: [PATCH 3/7] Fix some mistakes --- form/form_themes.rst | 2 +- reference/forms/types/options/help.rst.inc | 5 +++-- reference/twig_reference.rst | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/form/form_themes.rst b/form/form_themes.rst index be31bd31a3b..99001e96d44 100644 --- a/form/form_themes.rst +++ b/form/form_themes.rst @@ -136,7 +136,7 @@ are 4 possible *parts* of a form that can be rendered: +-------------+----------------------------+---------------------------------------------------------+ | ``errors`` | (e.g. ``form_errors()``) | renders the field's errors | +-------------+----------------------------+---------------------------------------------------------+ -| ``help`` | (e.g. ``form_help()``) | renders the field's help | +| ``help`` | (e.g. ``form_help()``) | renders the field's help | +-------------+----------------------------+---------------------------------------------------------+ | ``row`` | (e.g. ``form_row()``) | renders the field's entire row (label, widget & errors) | +-------------+----------------------------+---------------------------------------------------------+ diff --git a/reference/forms/types/options/help.rst.inc b/reference/forms/types/options/help.rst.inc index a27f34749e2..b59d569d46f 100644 --- a/reference/forms/types/options/help.rst.inc +++ b/reference/forms/types/options/help.rst.inc @@ -3,8 +3,9 @@ help **type**: ``string`` **default**: null -Allows you to define a help text below the form field. +Allows you to define extra information about the field, which will be rendered below the form field by default. +.. code-block:: php $builder->add('name', null, array( - 'help' => 'My helper message.', + 'help' => 'My helper message.', )); diff --git a/reference/twig_reference.rst b/reference/twig_reference.rst index cbe5424c0f2..b3bbc703734 100644 --- a/reference/twig_reference.rst +++ b/reference/twig_reference.rst @@ -242,7 +242,7 @@ form_help ``view`` **type**: ``FormView`` -Renders the text help for the given field. +Renders the help text for the given field. form_row ~~~~~~~~ From d175909eb847c4cb0e71a1791dbfa18ebac7f92d Mon Sep 17 00:00:00 2001 From: Mathieu Piot Date: Tue, 20 Mar 2018 18:22:49 +0100 Subject: [PATCH 4/7] Fix code-block declaration --- reference/forms/types/options/help.rst.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/reference/forms/types/options/help.rst.inc b/reference/forms/types/options/help.rst.inc index b59d569d46f..e207e483a0b 100644 --- a/reference/forms/types/options/help.rst.inc +++ b/reference/forms/types/options/help.rst.inc @@ -6,6 +6,7 @@ help Allows you to define extra information about the field, which will be rendered below the form field by default. .. code-block:: php + $builder->add('name', null, array( 'help' => 'My helper message.', )); From 78c375d859478f351f190532f837f6e2b3e44751 Mon Sep 17 00:00:00 2001 From: Mathieu Piot Date: Tue, 20 Mar 2018 18:28:53 +0100 Subject: [PATCH 5/7] Fix malformed tables --- reference/forms/types/currency.rst | 2 +- reference/forms/types/date.rst | 2 +- reference/forms/types/locale.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/forms/types/currency.rst b/reference/forms/types/currency.rst index a6abf289d20..c1f4b963bb9 100644 --- a/reference/forms/types/currency.rst +++ b/reference/forms/types/currency.rst @@ -35,7 +35,7 @@ manually, but then you should just use the ``ChoiceType`` directly. | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | -| | - `help`_ | +| | - `help`_ | +-------------+------------------------------------------------------------------------+ | Parent type | :doc:`ChoiceType ` | +-------------+------------------------------------------------------------------------+ diff --git a/reference/forms/types/date.rst b/reference/forms/types/date.rst index f58ebabb851..d03c731c854 100644 --- a/reference/forms/types/date.rst +++ b/reference/forms/types/date.rst @@ -39,7 +39,7 @@ and can understand a number of different input formats via the `input`_ option. | | - `invalid_message`_ | | | - `invalid_message_parameters`_ | | | - `mapped`_ | -| | - `help`_ | +| | - `help`_ | +----------------------+-----------------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +----------------------+-----------------------------------------------------------------------------+ diff --git a/reference/forms/types/locale.rst b/reference/forms/types/locale.rst index e548825a668..88c4d753df6 100644 --- a/reference/forms/types/locale.rst +++ b/reference/forms/types/locale.rst @@ -46,7 +46,7 @@ manually, but then you should just use the ``ChoiceType`` directly. | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | -| | - `help`_ | +| | - `help`_ | +-------------+------------------------------------------------------------------------+ | Parent type | :doc:`ChoiceType ` | +-------------+------------------------------------------------------------------------+ From 89d7c12d81579edfbd3557aa7329b9a302a1a3bb Mon Sep 17 00:00:00 2001 From: Mathieu Piot Date: Wed, 25 Apr 2018 09:55:46 +0200 Subject: [PATCH 6/7] Fix form types attributes by alphabetical order --- reference/forms/types/birthday.rst | 6 +++--- reference/forms/types/checkbox.rst | 6 +++--- reference/forms/types/choice.rst | 6 +++--- reference/forms/types/color.rst | 6 +++--- reference/forms/types/country.rst | 6 +++--- reference/forms/types/currency.rst | 6 +++--- reference/forms/types/date.rst | 6 +++--- reference/forms/types/dateinterval.rst | 6 +++--- reference/forms/types/datetime.rst | 6 +++--- reference/forms/types/email.rst | 6 +++--- reference/forms/types/entity.rst | 6 +++--- reference/forms/types/file.rst | 6 +++--- reference/forms/types/form.rst | 6 +++--- reference/forms/types/integer.rst | 6 +++--- reference/forms/types/language.rst | 6 +++--- reference/forms/types/locale.rst | 6 +++--- reference/forms/types/money.rst | 6 +++--- reference/forms/types/number.rst | 6 +++--- reference/forms/types/password.rst | 6 +++--- reference/forms/types/percent.rst | 6 +++--- reference/forms/types/radio.rst | 6 +++--- reference/forms/types/range.rst | 6 +++--- reference/forms/types/search.rst | 6 +++--- reference/forms/types/tel.rst | 6 +++--- reference/forms/types/text.rst | 6 +++--- reference/forms/types/textarea.rst | 6 +++--- reference/forms/types/time.rst | 6 +++--- reference/forms/types/timezone.rst | 6 +++--- reference/forms/types/url.rst | 6 +++--- 29 files changed, 87 insertions(+), 87 deletions(-) diff --git a/reference/forms/types/birthday.rst b/reference/forms/types/birthday.rst index 661df396f4b..6d18eeddc70 100644 --- a/reference/forms/types/birthday.rst +++ b/reference/forms/types/birthday.rst @@ -38,11 +38,11 @@ option defaults to 120 years ago to the current year. | | | | | - `data`_ | | | - `disabled`_ | +| | - `help`_ | | | - `inherit_data`_ | | | - `invalid_message`_ | | | - `invalid_message_parameters`_ | | | - `mapped`_ | -| | - `help`_ | +----------------------+-------------------------------------------------------------------------------+ | Parent type | :doc:`DateType ` | +----------------------+-------------------------------------------------------------------------------+ @@ -109,6 +109,8 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/disabled.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/inherit_data.rst.inc .. include:: /reference/forms/types/options/invalid_message.rst.inc @@ -116,5 +118,3 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/invalid_message_parameters.rst.inc .. include:: /reference/forms/types/options/mapped.rst.inc - -.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/checkbox.rst b/reference/forms/types/checkbox.rst index b08d45b7614..08c1a6bddd2 100644 --- a/reference/forms/types/checkbox.rst +++ b/reference/forms/types/checkbox.rst @@ -20,12 +20,12 @@ true, if the box is unchecked, the value will be set to false. | options | - `disabled`_ | | | - `error_bubbling`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `label`_ | | | - `label_attr`_ | | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | -| | - `help`_ | +-------------+------------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +-------------+------------------------------------------------------------------------+ @@ -70,6 +70,8 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc @@ -80,8 +82,6 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/required.rst.inc -.. include:: /reference/forms/types/options/help.rst.inc - Form Variables -------------- diff --git a/reference/forms/types/choice.rst b/reference/forms/types/choice.rst index 929199f750b..ae67238b875 100644 --- a/reference/forms/types/choice.rst +++ b/reference/forms/types/choice.rst @@ -34,6 +34,7 @@ To use this field, you must specify *either* ``choices`` or ``choice_loader`` op | | - `data`_ | | | - `disabled`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `inherit_data`_ | | | - `label`_ | | | - `label_attr`_ | @@ -41,7 +42,6 @@ To use this field, you must specify *either* ``choices`` or ``choice_loader`` op | | - `mapped`_ | | | - `required`_ | | | - `translation_domain`_ | -| | - `help`_ | +-------------+------------------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +-------------+------------------------------------------------------------------------------+ @@ -265,6 +265,8 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/inherit_data.rst.inc .. include:: /reference/forms/types/options/label.rst.inc @@ -279,8 +281,6 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/choice_type_translation_domain.rst.inc -.. include:: /reference/forms/types/options/help.rst.inc - Field Variables --------------- diff --git a/reference/forms/types/color.rst b/reference/forms/types/color.rst index be6c484019a..799d826538b 100644 --- a/reference/forms/types/color.rst +++ b/reference/forms/types/color.rst @@ -22,13 +22,13 @@ element. | | - `empty_data`_ | | | - `error_bubbling`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `label`_ | | | - `label_attr`_ | | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | | | - `trim`_ | -| | - `help`_ | +-------------+---------------------------------------------------------------------+ | Parent type | :doc:`TextType ` | +-------------+---------------------------------------------------------------------+ @@ -56,6 +56,8 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc @@ -67,5 +69,3 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/required.rst.inc .. include:: /reference/forms/types/options/trim.rst.inc - -.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/country.rst b/reference/forms/types/country.rst index b2a2fc25c55..c019120894b 100644 --- a/reference/forms/types/country.rst +++ b/reference/forms/types/country.rst @@ -38,12 +38,12 @@ the option manually, but then you should just use the ``ChoiceType`` directly. | | - `data`_ | | | - `disabled`_ | | | - `empty_data`_ | +| | - `help`_ | | | - `label`_ | | | - `label_attr`_ | | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | -| | - `help`_ | +-------------+-----------------------------------------------------------------------+ | Parent type | :doc:`ChoiceType ` | +-------------+-----------------------------------------------------------------------+ @@ -101,6 +101,8 @@ 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 +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc @@ -110,5 +112,3 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/mapped.rst.inc .. include:: /reference/forms/types/options/required.rst.inc - -.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/currency.rst b/reference/forms/types/currency.rst index c1f4b963bb9..4870eb33e71 100644 --- a/reference/forms/types/currency.rst +++ b/reference/forms/types/currency.rst @@ -30,12 +30,12 @@ manually, but then you should just use the ``ChoiceType`` directly. | | - `data`_ | | | - `disabled`_ | | | - `empty_data`_ | +| | - `help`_ | | | - `label`_ | | | - `label_attr`_ | | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | -| | - `help`_ | +-------------+------------------------------------------------------------------------+ | Parent type | :doc:`ChoiceType ` | +-------------+------------------------------------------------------------------------+ @@ -90,6 +90,8 @@ 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 +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc @@ -100,6 +102,4 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/required.rst.inc -.. include:: /reference/forms/types/options/help.rst.inc - .. _`3-letter ISO 4217`: https://en.wikipedia.org/wiki/ISO_4217 diff --git a/reference/forms/types/date.rst b/reference/forms/types/date.rst index d03c731c854..cac20deb225 100644 --- a/reference/forms/types/date.rst +++ b/reference/forms/types/date.rst @@ -35,11 +35,11 @@ and can understand a number of different input formats via the `input`_ option. | Inherited | - `data`_ | | options | - `disabled`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `inherit_data`_ | | | - `invalid_message`_ | | | - `invalid_message_parameters`_ | | | - `mapped`_ | -| | - `help`_ | +----------------------+-----------------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +----------------------+-----------------------------------------------------------------------------+ @@ -207,6 +207,8 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/inherit_data.rst.inc .. include:: /reference/forms/types/options/invalid_message.rst.inc @@ -215,8 +217,6 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/mapped.rst.inc -.. include:: /reference/forms/types/options/help.rst.inc - Field Variables --------------- diff --git a/reference/forms/types/dateinterval.rst b/reference/forms/types/dateinterval.rst index 9c3e4e26c6b..450e14c3132 100644 --- a/reference/forms/types/dateinterval.rst +++ b/reference/forms/types/dateinterval.rst @@ -39,11 +39,11 @@ or an array (see `input`_). +----------------------+----------------------------------------------------------------------------------+ | Inherited | - `data`_ | | options | - `disabled`_ | +| | - `help`_ | | | - `inherit_data`_ | | | - `invalid_message`_ | | | - `invalid_message_parameters`_ | | | - `mapped`_ | -| | - `help`_ | +----------------------+----------------------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +----------------------+----------------------------------------------------------------------------------+ @@ -308,6 +308,8 @@ These options inherit from the :doc:`form ` type: .. include:: /reference/forms/types/options/disabled.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/inherit_data.rst.inc .. include:: /reference/forms/types/options/invalid_message.rst.inc @@ -316,8 +318,6 @@ These options inherit from the :doc:`form ` type: .. include:: /reference/forms/types/options/mapped.rst.inc -.. include:: /reference/forms/types/options/help.rst.inc - Field Variables --------------- diff --git a/reference/forms/types/datetime.rst b/reference/forms/types/datetime.rst index 8c2d4c022cf..d27404f905f 100644 --- a/reference/forms/types/datetime.rst +++ b/reference/forms/types/datetime.rst @@ -42,11 +42,11 @@ the data can be a ``DateTime`` object, a string, a timestamp or an array. +----------------------+-----------------------------------------------------------------------------+ | Inherited | - `data`_ | | options | - `disabled`_ | +| | - `help`_ | | | - `inherit_data`_ | | | - `invalid_message`_ | | | - `invalid_message_parameters`_ | | | - `mapped`_ | -| | - `help`_ | +----------------------+-----------------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +----------------------+-----------------------------------------------------------------------------+ @@ -195,6 +195,8 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/disabled.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/inherit_data.rst.inc .. include:: /reference/forms/types/options/invalid_message.rst.inc @@ -203,8 +205,6 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/mapped.rst.inc -.. include:: /reference/forms/types/options/help.rst.inc - Field Variables --------------- diff --git a/reference/forms/types/email.rst b/reference/forms/types/email.rst index bb555cb60db..67eb149506c 100644 --- a/reference/forms/types/email.rst +++ b/reference/forms/types/email.rst @@ -15,13 +15,13 @@ The ``EmailType`` field is a text field that is rendered using the HTML5 | | - `empty_data`_ | | | - `error_bubbling`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `label`_ | | | - `label_attr`_ | | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | | | - `trim`_ | -| | - `help`_ | +-------------+---------------------------------------------------------------------+ | Parent type | :doc:`TextType ` | +-------------+---------------------------------------------------------------------+ @@ -49,6 +49,8 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc @@ -60,5 +62,3 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/required.rst.inc .. include:: /reference/forms/types/options/trim.rst.inc - -.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/entity.rst b/reference/forms/types/entity.rst index 6fdbcea911c..16ccb51006a 100644 --- a/reference/forms/types/entity.rst +++ b/reference/forms/types/entity.rst @@ -40,12 +40,12 @@ objects from the database. | | - `empty_data`_ | | | - `error_bubbling`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `label`_ | | | - `label_attr`_ | | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | -| | - `help`_ | +-------------+------------------------------------------------------------------+ | Parent type | :doc:`ChoiceType ` | +-------------+------------------------------------------------------------------+ @@ -304,6 +304,8 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc @@ -313,5 +315,3 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/mapped.rst.inc .. include:: /reference/forms/types/options/required.rst.inc - -.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/file.rst b/reference/forms/types/file.rst index 0d36d3f35c7..158a68e1aed 100644 --- a/reference/forms/types/file.rst +++ b/reference/forms/types/file.rst @@ -18,12 +18,12 @@ The ``FileType`` represents a file input in your form. | Inherited | - `disabled`_ | | options | - `error_bubbling`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `label`_ | | | - `label_attr`_ | | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | -| | - `help`_ | +-------------+---------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +-------------+---------------------------------------------------------------------+ @@ -125,6 +125,8 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc @@ -135,8 +137,6 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/required.rst.inc -.. include:: /reference/forms/types/options/help.rst.inc - Form Variables -------------- diff --git a/reference/forms/types/form.rst b/reference/forms/types/form.rst index 8d3cd43c4cf..7151415d32c 100644 --- a/reference/forms/types/form.rst +++ b/reference/forms/types/form.rst @@ -19,6 +19,7 @@ on all types for which ``FormType`` is the parent. | | - `error_bubbling`_ | | | - `error_mapping`_ | | | - `extra_fields_message`_ | +| | - `help`_ | | | - `inherit_data`_ | | | - `invalid_message`_ | | | - `invalid_message_parameters`_ | @@ -30,7 +31,6 @@ on all types for which ``FormType`` is the parent. | | - `property_path`_ | | | - `required`_ | | | - `trim`_ | -| | - `help`_ | +-----------+--------------------------------------------------------------------+ | Inherited | - `attr`_ | | options | - `auto_initialize`_ | @@ -99,6 +99,8 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/extra_fields_message.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/inherit_data.rst.inc .. include:: /reference/forms/types/options/invalid_message.rst.inc @@ -129,8 +131,6 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/trim.rst.inc -.. include:: /reference/forms/types/options/help.rst.inc - Inherited Options ----------------- diff --git a/reference/forms/types/integer.rst b/reference/forms/types/integer.rst index 14421a4b3cf..f41acbd40e5 100644 --- a/reference/forms/types/integer.rst +++ b/reference/forms/types/integer.rst @@ -28,6 +28,7 @@ integers. By default, all non-integer values (e.g. 6.78) will round down | | - `empty_data`_ | | | - `error_bubbling`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `invalid_message`_ | | | - `invalid_message_parameters`_ | | | - `label`_ | @@ -35,7 +36,6 @@ integers. By default, all non-integer values (e.g. 6.78) will round down | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | -| | - `help`_ | +-------------+-----------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +-------------+-----------------------------------------------------------------------+ @@ -104,6 +104,8 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/invalid_message.rst.inc .. include:: /reference/forms/types/options/invalid_message_parameters.rst.inc @@ -117,5 +119,3 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/mapped.rst.inc .. include:: /reference/forms/types/options/required.rst.inc - -.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/language.rst b/reference/forms/types/language.rst index c31d7d05ae0..024139df8c7 100644 --- a/reference/forms/types/language.rst +++ b/reference/forms/types/language.rst @@ -40,12 +40,12 @@ manually, but then you should just use the ``ChoiceType`` directly. | | - `data`_ | | | - `disabled`_ | | | - `empty_data`_ | +| | - `help`_ | | | - `label`_ | | | - `label_attr`_ | | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | -| | - `help`_ | +-------------+------------------------------------------------------------------------+ | Parent type | :doc:`ChoiceType ` | +-------------+------------------------------------------------------------------------+ @@ -103,6 +103,8 @@ 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 +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc @@ -113,6 +115,4 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/required.rst.inc -.. include:: /reference/forms/types/options/help.rst.inc - .. _`International Components for Unicode`: http://site.icu-project.org diff --git a/reference/forms/types/locale.rst b/reference/forms/types/locale.rst index 88c4d753df6..224f6847190 100644 --- a/reference/forms/types/locale.rst +++ b/reference/forms/types/locale.rst @@ -41,12 +41,12 @@ manually, but then you should just use the ``ChoiceType`` directly. | | - `data`_ | | | - `disabled`_ | | | - `empty_data`_ | +| | - `help`_ | | | - `label`_ | | | - `label_attr`_ | | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | -| | - `help`_ | +-------------+------------------------------------------------------------------------+ | Parent type | :doc:`ChoiceType ` | +-------------+------------------------------------------------------------------------+ @@ -104,6 +104,8 @@ 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 +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc @@ -114,7 +116,5 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/required.rst.inc -.. include:: /reference/forms/types/options/help.rst.inc - .. _`ISO 639-1`: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes .. _`ISO 3166-1 alpha-2`: https://en.wikipedia.org/wiki/ISO_3166-1#Current_codes diff --git a/reference/forms/types/money.rst b/reference/forms/types/money.rst index 2560e705c9c..8f7e7f888d3 100644 --- a/reference/forms/types/money.rst +++ b/reference/forms/types/money.rst @@ -27,6 +27,7 @@ how the input and output of the data is handled. | | - `empty_data`_ | | | - `error_bubbling`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `invalid_message`_ | | | - `invalid_message_parameters`_ | | | - `label`_ | @@ -34,7 +35,6 @@ how the input and output of the data is handled. | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | -| | - `help`_ | +-------------+---------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +-------------+---------------------------------------------------------------------+ @@ -116,6 +116,8 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/invalid_message.rst.inc .. include:: /reference/forms/types/options/invalid_message_parameters.rst.inc @@ -130,8 +132,6 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/required.rst.inc -.. include:: /reference/forms/types/options/help.rst.inc - Form Variables -------------- diff --git a/reference/forms/types/number.rst b/reference/forms/types/number.rst index 1689f07a7f3..0b7028cd579 100644 --- a/reference/forms/types/number.rst +++ b/reference/forms/types/number.rst @@ -23,6 +23,7 @@ that you want to use for your number. | | - `empty_data`_ | | | - `error_bubbling`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `invalid_message`_ | | | - `invalid_message_parameters`_ | | | - `label`_ | @@ -30,7 +31,6 @@ that you want to use for your number. | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | -| | - `help`_ | +-------------+----------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +-------------+----------------------------------------------------------------------+ @@ -99,6 +99,8 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/invalid_message.rst.inc .. include:: /reference/forms/types/options/invalid_message_parameters.rst.inc @@ -112,5 +114,3 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/mapped.rst.inc .. include:: /reference/forms/types/options/required.rst.inc - -.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/password.rst b/reference/forms/types/password.rst index 3929cb0356f..ea42aa6ffde 100644 --- a/reference/forms/types/password.rst +++ b/reference/forms/types/password.rst @@ -18,12 +18,12 @@ The ``PasswordType`` field renders an input password text box. | options | - `empty_data`_ | | | - `error_bubbling`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `label`_ | | | - `label_attr`_ | | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | -| | - `help`_ | +-------------+------------------------------------------------------------------------+ | Parent type | :doc:`TextType ` | +-------------+------------------------------------------------------------------------+ @@ -78,6 +78,8 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc @@ -87,5 +89,3 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/mapped.rst.inc .. include:: /reference/forms/types/options/required.rst.inc - -.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/percent.rst b/reference/forms/types/percent.rst index 2039d0d8960..8d823c34272 100644 --- a/reference/forms/types/percent.rst +++ b/reference/forms/types/percent.rst @@ -25,6 +25,7 @@ This field adds a percentage sign "``%``" after the input box. | | - `empty_data`_ | | | - `error_bubbling`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `invalid_message`_ | | | - `invalid_message_parameters`_ | | | - `label`_ | @@ -32,7 +33,6 @@ This field adds a percentage sign "``%``" after the input box. | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | -| | - `help`_ | +-------------+-----------------------------------------------------------------------+ | Parent type | :doc:`FormType ` | +-------------+-----------------------------------------------------------------------+ @@ -96,6 +96,8 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/invalid_message.rst.inc .. include:: /reference/forms/types/options/invalid_message_parameters.rst.inc @@ -109,5 +111,3 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/mapped.rst.inc .. include:: /reference/forms/types/options/required.rst.inc - -.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/radio.rst b/reference/forms/types/radio.rst index c292da63c89..e53a19aae12 100644 --- a/reference/forms/types/radio.rst +++ b/reference/forms/types/radio.rst @@ -27,12 +27,12 @@ If you want to have a boolean field, use :doc:`CheckboxType ` | +-------------+---------------------------------------------------------------------+ @@ -58,6 +58,8 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc @@ -68,8 +70,6 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/required.rst.inc -.. include:: /reference/forms/types/options/help.rst.inc - Form Variables -------------- diff --git a/reference/forms/types/range.rst b/reference/forms/types/range.rst index 298e4f2a500..c8a21093211 100644 --- a/reference/forms/types/range.rst +++ b/reference/forms/types/range.rst @@ -16,12 +16,12 @@ The ``RangeType`` field is a slider that is rendered using the HTML5 | | - `empty_data`_ | | | - `error_bubbling`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `label`_ | | | - `label_attr`_ | | | - `mapped`_ | | | - `required`_ | | | - `trim`_ | -| | - `help`_ | +-------------+---------------------------------------------------------------------+ | Parent type | :doc:`TextType ` | +-------------+---------------------------------------------------------------------+ @@ -66,6 +66,8 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc @@ -75,5 +77,3 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/required.rst.inc .. include:: /reference/forms/types/options/trim.rst.inc - -.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/search.rst b/reference/forms/types/search.rst index 98ee03f524d..9bac82be97c 100644 --- a/reference/forms/types/search.rst +++ b/reference/forms/types/search.rst @@ -16,13 +16,13 @@ Read about the input search field at `DiveIntoHTML5.info`_ | options | - `empty_data`_ | | | - `error_bubbling`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `label`_ | | | - `label_attr`_ | | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | | | - `trim`_ | -| | - `help`_ | +-------------+----------------------------------------------------------------------+ | Parent type | :doc:`TextType ` | +-------------+----------------------------------------------------------------------+ @@ -48,6 +48,8 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc @@ -60,6 +62,4 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/trim.rst.inc -.. include:: /reference/forms/types/options/help.rst.inc - .. _`DiveIntoHTML5.info`: http://diveintohtml5.info/forms.html#type-search diff --git a/reference/forms/types/tel.rst b/reference/forms/types/tel.rst index a8c448387b5..4f08adfaed4 100644 --- a/reference/forms/types/tel.rst +++ b/reference/forms/types/tel.rst @@ -21,13 +21,13 @@ to input phone numbers. | | - `empty_data`_ | | | - `error_bubbling`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `label`_ | | | - `label_attr`_ | | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | | | - `trim`_ | -| | - `help`_ | +-------------+---------------------------------------------------------------------+ | Parent type | :doc:`TextType ` | +-------------+---------------------------------------------------------------------+ @@ -55,6 +55,8 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc @@ -66,5 +68,3 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/required.rst.inc .. include:: /reference/forms/types/options/trim.rst.inc - -.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/text.rst b/reference/forms/types/text.rst index 66e8be16e57..24054cc2f29 100644 --- a/reference/forms/types/text.rst +++ b/reference/forms/types/text.rst @@ -14,13 +14,13 @@ The TextType field represents the most basic input text field. | | - `empty_data`_ | | | - `error_bubbling`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `label`_ | | | - `label_attr`_ | | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | | | - `trim`_ | -| | - `help`_ | +-------------+--------------------------------------------------------------------+ | Overridden | - `compound`_ | | options | | @@ -51,6 +51,8 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc @@ -63,8 +65,6 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/trim.rst.inc -.. include:: /reference/forms/types/options/help.rst.inc - Overridden Options ------------------ diff --git a/reference/forms/types/textarea.rst b/reference/forms/types/textarea.rst index ed4437191e6..3b4d50d3c4d 100644 --- a/reference/forms/types/textarea.rst +++ b/reference/forms/types/textarea.rst @@ -15,13 +15,13 @@ Renders a ``textarea`` HTML element. | | - `empty_data`_ | | | - `error_bubbling`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `label`_ | | | - `label_attr`_ | | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | | | - `trim`_ | -| | - `help`_ | +-------------+------------------------------------------------------------------------+ | Parent type | :doc:`TextType ` | +-------------+------------------------------------------------------------------------+ @@ -57,6 +57,8 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc @@ -69,6 +71,4 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/trim.rst.inc -.. include:: /reference/forms/types/options/help.rst.inc - .. _`its documentation`: https://symfony.com/doc/current/bundles/IvoryCKEditorBundle/index.html diff --git a/reference/forms/types/time.rst b/reference/forms/types/time.rst index 08cd8f78860..c3e396fc765 100644 --- a/reference/forms/types/time.rst +++ b/reference/forms/types/time.rst @@ -36,11 +36,11 @@ stored as a ``DateTime`` object, a string, a timestamp or an array. | Inherited | - `data`_ | | Options | - `disabled`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `inherit_data`_ | | | - `invalid_message`_ | | | - `invalid_message_parameters`_ | | | - `mapped`_ | -| | - `help`_ | +----------------------+-----------------------------------------------------------------------------+ | Parent type | FormType | +----------------------+-----------------------------------------------------------------------------+ @@ -194,6 +194,8 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/inherit_data.rst.inc .. include:: /reference/forms/types/options/invalid_message.rst.inc @@ -202,8 +204,6 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/mapped.rst.inc -.. include:: /reference/forms/types/options/help.rst.inc - Form Variables -------------- diff --git a/reference/forms/types/timezone.rst b/reference/forms/types/timezone.rst index 09ccbb67a92..8614a39f7cb 100644 --- a/reference/forms/types/timezone.rst +++ b/reference/forms/types/timezone.rst @@ -37,12 +37,12 @@ manually, but then you should just use the ``ChoiceType`` directly. | | - `empty_data`_ | | | - `error_bubbling`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `label`_ | | | - `label_attr`_ | | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | -| | - `help`_ | +-------------+------------------------------------------------------------------------+ | Parent type | :doc:`ChoiceType ` | +-------------+------------------------------------------------------------------------+ @@ -121,6 +121,8 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc @@ -130,5 +132,3 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/mapped.rst.inc .. include:: /reference/forms/types/options/required.rst.inc - -.. include:: /reference/forms/types/options/help.rst.inc diff --git a/reference/forms/types/url.rst b/reference/forms/types/url.rst index 43c629b35e5..38aa1732145 100644 --- a/reference/forms/types/url.rst +++ b/reference/forms/types/url.rst @@ -18,13 +18,13 @@ have a protocol. | | - `empty_data`_ | | | - `error_bubbling`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `label`_ | | | - `label_attr`_ | | | - `label_format`_ | | | - `mapped`_ | | | - `required`_ | | | - `trim`_ | -| | - `help`_ | +-------------+-------------------------------------------------------------------+ | Parent type | :doc:`TextType ` | +-------------+-------------------------------------------------------------------+ @@ -64,6 +64,8 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc @@ -75,5 +77,3 @@ The default value is ``''`` (the empty string). .. include:: /reference/forms/types/options/required.rst.inc .. include:: /reference/forms/types/options/trim.rst.inc - -.. include:: /reference/forms/types/options/help.rst.inc From f5c0129152f73982dc4f3f3ad99cea63862bb335 Mon Sep 17 00:00:00 2001 From: Mathieu Piot Date: Wed, 25 Apr 2018 19:18:47 +0200 Subject: [PATCH 7/7] Add doc for CollectionType and RepeatedType --- reference/forms/types/collection.rst | 3 +++ reference/forms/types/repeated.rst | 3 +++ 2 files changed, 6 insertions(+) diff --git a/reference/forms/types/collection.rst b/reference/forms/types/collection.rst index 10e67c56c40..687a04ef62f 100644 --- a/reference/forms/types/collection.rst +++ b/reference/forms/types/collection.rst @@ -27,6 +27,7 @@ photos). | options | - `empty_data`_ | | | - `error_bubbling`_ | | | - `error_mapping`_ | +| | - `help`_ | | | - `label`_ | | | - `label_attr`_ | | | - `label_format`_ | @@ -448,6 +449,8 @@ error_bubbling .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/label.rst.inc .. include:: /reference/forms/types/options/label_attr.rst.inc diff --git a/reference/forms/types/repeated.rst b/reference/forms/types/repeated.rst index 3a100827ee6..c146683e34f 100644 --- a/reference/forms/types/repeated.rst +++ b/reference/forms/types/repeated.rst @@ -24,6 +24,7 @@ accuracy. +-------------+------------------------------------------------------------------------+ | Inherited | - `data`_ | | options | - `error_mapping`_ | +| | - `help`_ | | | - `invalid_message`_ | | | - `invalid_message_parameters`_ | | | - `mapped`_ | @@ -194,6 +195,8 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/error_mapping.rst.inc +.. include:: /reference/forms/types/options/help.rst.inc + .. include:: /reference/forms/types/options/invalid_message.rst.inc .. include:: /reference/forms/types/options/invalid_message_parameters.rst.inc pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy