Skip to content

Commit

Permalink
Fixed #10009 -- Corrected a field reference in an example on renderin…
Browse files Browse the repository at this point in the history
…g 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
  • Loading branch information
freakboy3742 committed Feb 22, 2009
1 parent 39dd445 commit 7b9fe15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/topics/forms/index.txt
Expand Up @@ -57,7 +57,7 @@ Form objects


A Form object encapsulates a sequence of form fields and a collection of 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. 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 make use of a declarative style that you'll be familiar with if you've used
Django's database models. Django's database models.


Expand Down Expand Up @@ -323,7 +323,7 @@ these two methods::
{# Include the hidden fields in the form #} {# Include the hidden fields in the form #}
{% if forloop.first %} {% if forloop.first %}
{% for hidden in form.hidden_fields %} {% for hidden in form.hidden_fields %}
{{ field }} {{ hidden }}
{% endfor %} {% endfor %}
{% endif %} {% endif %}


Expand Down

0 comments on commit 7b9fe15

Please sign in to comment.