[1.0.X] Fixed #9325 -- Typo fix in the forms documentation.
Backport of r9215 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
5e9a9053d8
commit
f0ba276fd6
|
@ -253,9 +253,9 @@ over them::
|
|||
Looping over the form's fields
|
||||
------------------------------
|
||||
|
||||
If you're the same HTML for each of your form fields, you can
|
||||
reduce duplicate code by looping through each field in turn using
|
||||
a ``{% for %}`` loop::
|
||||
If you're using the same HTML for each of your form fields, you can reduce
|
||||
duplicate code by looping through each field in turn using a ``{% for %}``
|
||||
loop::
|
||||
|
||||
<form action="/contact/" method="POST">
|
||||
{% for field in form %}
|
||||
|
|
Loading…
Reference in New Issue