From 7bf9626adb51563b1db3c1761b6a7a9da17b8bb5 Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Tue, 23 Dec 2008 05:20:49 +0000 Subject: [PATCH] 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 --- docs/topics/forms/modelforms.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt index 4360e0f2765..50beea2d711 100644 --- a/docs/topics/forms/modelforms.txt +++ b/docs/topics/forms/modelforms.txt @@ -592,8 +592,8 @@ Third, you can manually render each field::
{{ formset.management_form }} {% for form in formset.forms %} - {% for fields in form %} - {{ field }} + {% for field in form %} + {{ field.label_tag }}: {{ field }} {% endfor %} {% endfor %}