summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2009-02-22 06:09:03 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2009-02-22 06:09:03 +0000
commit7b9fe15a9f60690c52a66784fc8d93d448f3bca0 (patch)
tree2867db1e0ed5f696bdad2a5cc7d53561a8bf7892
parent39dd44570c2b66ed2b251f507f8b189524bb2f9d (diff)
Fixed #10009 -- Corrected a field reference in an example on rendering hidden fields. Thanks to karihre@gmail.com for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--docs/topics/forms/index.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/forms/index.txt b/docs/topics/forms/index.txt
index 4dedc225f5..47a29f334e 100644
--- a/docs/topics/forms/index.txt
+++ b/docs/topics/forms/index.txt
@@ -57,7 +57,7 @@ Form objects
A Form object encapsulates a sequence of form fields and a collection of
validation rules that must be fulfilled in order for the form to be accepted.
-Form classes are created as subclasses of ``django.forms.Form`` and
+Form classes are created as subclasses of ``django.forms.Form`` and
make use of a declarative style that you'll be familiar with if you've used
Django's database models.
@@ -323,7 +323,7 @@ these two methods::
{# Include the hidden fields in the form #}
{% if forloop.first %}
{% for hidden in form.hidden_fields %}
- {{ field }}
+ {{ hidden }}
{% endfor %}
{% endif %}