diff --git a/docs/topics/forms/index.txt b/docs/topics/forms/index.txt index 4dedc225f5c1b..47a29f334e4c0 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 %}