1
0
mirror of https://github.com/django/django.git synced 2025-06-03 10:39:12 +00:00

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

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-05-02 00:06:43 +00:00
parent fecc815f3f
commit d2fcbcf9d7

View File

@ -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``
-------------------------------