mirror of https://github.com/django/django.git
Fixed #9325 -- Typo fix in the forms documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
27d4f5b84c
commit
0b7b74432a
|
@ -253,9 +253,9 @@ over them::
|
||||||
Looping over the form's fields
|
Looping over the form's fields
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
If you're the same HTML for each of your form fields, you can
|
If you're using the same HTML for each of your form fields, you can reduce
|
||||||
reduce duplicate code by looping through each field in turn using
|
duplicate code by looping through each field in turn using a ``{% for %}``
|
||||||
a ``{% for %}`` loop::
|
loop::
|
||||||
|
|
||||||
<form action="/contact/" method="POST">
|
<form action="/contact/" method="POST">
|
||||||
{% for field in form %}
|
{% for field in form %}
|
||||||
|
|
Loading…
Reference in New Issue