Browse files

magic-removal: Fixed #1644 -- Fixed typo in docs/forms.txt. Thanks, c…


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent fecc815 commit d2fcbcf9d76d5bb8a661ee73dae976c74183098b @adrianholovaty adrianholovaty committed May 2, 2006
Showing with 3 additions and 2 deletions.
  1. +3 −2 docs/forms.txt
5 docs/forms.txt
@@ -242,7 +242,7 @@ and here's the ``create_form`` template::
<h1>Create a place:</h1>
{% if form.has_errors %}
- <h2>Please correct the following error{{ errors|pluralize }}:</h2>
+ <h2>Please correct the following error{{ form.error_dict|pluralize }}:</h2>
{% endif %}
<form method="post" action=".">
@@ -287,7 +287,8 @@ The second argument is the error list retrieved from
this gives each field an ``errors`` item (which is a list of error messages
associated with the field) as well as a ``html_error_list`` item, which is a
``<ul>`` of error messages. The above template uses these error items to
-display a simple error message next to each field.
+display a simple error message next to each field. The error list is saved as
+an ``error_dict`` attribute of the ``FormWrapper`` object.
Using the ``ChangeManipulator``

0 comments on commit d2fcbcf

Please sign in to comment.