Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.0.X] Fixed #9884 -- Corrected template example in model forms docu…

…mentation, thanks bradmontgomery.

Backport of r9676 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 1d37663aef8790426e63d1853a50d40d2cf86cd4 1 parent 4423900
@gdub gdub authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/topics/forms/modelforms.txt
View
4 docs/topics/forms/modelforms.txt
@@ -592,8 +592,8 @@ Third, you can manually render each field::
<form method="POST" action="">
{{ formset.management_form }}
{% for form in formset.forms %}
- {% for fields in form %}
- {{ field }}
+ {% for field in form %}
+ {{ field.label_tag }}: {{ field }}
{% endfor %}
{% endfor %}
</form>

0 comments on commit 1d37663

Please sign in to comment.
Something went wrong with that request. Please try again.