diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-12-23 05:22:10 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-12-23 05:22:10 +0000 |
| commit | 1d37663aef8790426e63d1853a50d40d2cf86cd4 (patch) | |
| tree | 422b75c8b3a7aaa061ad0016600edb5a533f21c6 /docs | |
| parent | 44239004db9acc392019edda692c58b64fe5f3c8 (diff) | |
[1.0.X] Fixed #9884 -- Corrected template example in model forms documentation, 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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/forms/modelforms.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt index 4360e0f276..50beea2d71 100644 --- a/docs/topics/forms/modelforms.txt +++ b/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> |
