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
|
||||
------------------------------
|
||||
|
||||
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