From c0fa07add626764bb2b35399e2c2b64b295e9e6e Mon Sep 17 00:00:00 2001 From: WouterJ Date: Mon, 1 Apr 2013 12:01:51 +0200 Subject: [PATCH 1/3] Fixed 'ERROR: Unknown target name: "disabled"' error --- reference/forms/types/form.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reference/forms/types/form.rst b/reference/forms/types/form.rst index 308ad8b93b5..9fc066f6691 100644 --- a/reference/forms/types/form.rst +++ b/reference/forms/types/form.rst @@ -19,6 +19,8 @@ on all fields. .. include:: /reference/forms/types/options/read_only.rst.inc +.. include:: /reference/forms/types/options/disabled.rst.inc + .. include:: /reference/forms/types/options/trim.rst.inc .. include:: /reference/forms/types/options/mapped.rst.inc From 12abf900b9e0accbb5f131909006e9c2615890de Mon Sep 17 00:00:00 2001 From: WouterJ Date: Mon, 1 Apr 2013 12:23:34 +0200 Subject: [PATCH 2/3] Fixed 'WARNING: unknown document: /cookbook/dynamic_form_generation' --- cookbook/form/dynamic_form_modification.rst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/cookbook/form/dynamic_form_modification.rst b/cookbook/form/dynamic_form_modification.rst index 34e2a38e03e..d80733f2afa 100644 --- a/cookbook/form/dynamic_form_modification.rst +++ b/cookbook/form/dynamic_form_modification.rst @@ -161,12 +161,11 @@ How to Dynamically Generate Forms based on user data ==================================================== Sometimes you want a form to be generated dynamically based not only on data -from this form (see :doc:`Dynamic form generation`) -but also on something else. For example depending on the user currently using -the application. If you have a social website where a user can only message -people who are his friends on the website, then the current user doesn't need to -be included as a field of your form, but a "choice list" of whom to message -should only contain users that are the current user's friends. +from this form but also on something else. For example depending on the user +currently using the application. If you have a social website where a user can +only message people who are his friends on the website, then the current user +doesn't need to be included as a field of your form, but a "choice list" of +whom to message should only contain users that are the current user's friends. Creating the form type ---------------------- From 77f19b53ed7290849fd2124ca7ce05cdaab23065 Mon Sep 17 00:00:00 2001 From: WouterJ Date: Mon, 1 Apr 2013 12:31:40 +0200 Subject: [PATCH 3/3] Fixed 'WARNING: unknown document: cookbook/form/create_form_type_extension' --- cookbook/form/unit_testing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/form/unit_testing.rst b/cookbook/form/unit_testing.rst index b3cca724fc6..56703f02915 100644 --- a/cookbook/form/unit_testing.rst +++ b/cookbook/form/unit_testing.rst @@ -149,7 +149,7 @@ Adding custom Extensions ------------------------ It often happens that you use some options that are added by -:doc:`form extensions`. One of the +:doc:`form extensions`. One of the cases may be the ``ValidatorExtension`` with its ``invalid_message`` option. The ``TypeTestCase`` loads only the core form extension so an "Invalid option" exception will be raised if you try to use it for testing a class that depends