1
0
mirror of https://github.com/django/django.git synced 2025-07-21 10:09:14 +00:00

[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:
Malcolm Tredinnick 2008-10-09 09:21:22 +00:00
parent 5e9a9053d8
commit f0ba276fd6

View File

@ -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 %}