Skip to content

Commit cd9eda4

Browse files
committed
Merge pull request symfony#2445 from WouterJ/fix_errors_21
[2.1] Fixed build errors
2 parents c4b754e + 77f19b5 commit cd9eda4

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

cookbook/form/dynamic_form_modification.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,11 @@ How to Dynamically Generate Forms based on user data
161161
====================================================
162162

163163
Sometimes you want a form to be generated dynamically based not only on data
164-
from this form (see :doc:`Dynamic form generation</cookbook/dynamic_form_generation>`)
165-
but also on something else. For example depending on the user currently using
166-
the application. If you have a social website where a user can only message
167-
people who are his friends on the website, then the current user doesn't need to
168-
be included as a field of your form, but a "choice list" of whom to message
169-
should only contain users that are the current user's friends.
164+
from this form but also on something else. For example depending on the user
165+
currently using the application. If you have a social website where a user can
166+
only message people who are his friends on the website, then the current user
167+
doesn't need to be included as a field of your form, but a "choice list" of
168+
whom to message should only contain users that are the current user's friends.
170169

171170
Creating the form type
172171
----------------------

cookbook/form/unit_testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Adding custom Extensions
149149
------------------------
150150

151151
It often happens that you use some options that are added by
152-
:doc:`form extensions<cookbook/form/create_form_type_extension>`. One of the
152+
:doc:`form extensions</cookbook/form/create_form_type_extension>`. One of the
153153
cases may be the ``ValidatorExtension`` with its ``invalid_message`` option.
154154
The ``TypeTestCase`` loads only the core form extension so an "Invalid option"
155155
exception will be raised if you try to use it for testing a class that depends

reference/forms/types/form.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ on all fields.
1919

2020
.. include:: /reference/forms/types/options/read_only.rst.inc
2121

22+
.. include:: /reference/forms/types/options/disabled.rst.inc
23+
2224
.. include:: /reference/forms/types/options/trim.rst.inc
2325

2426
.. include:: /reference/forms/types/options/mapped.rst.inc

0 commit comments

Comments
 (0)