diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-12-23 05:20:49 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-12-23 05:20:49 +0000 |
| commit | 7bf9626adb51563b1db3c1761b6a7a9da17b8bb5 (patch) | |
| tree | 6a6bce98e35a04d43b5a2f7c0ef162432c3415fa /docs | |
| parent | 05737128de79ec1935ba7df31f9c34258e869b3c (diff) | |
Fixed #9884 -- Corrected template example in model forms documentation, thanks bradmontgomery.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9676 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> |
