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::
{{ formset.management_form }} {% for form in formset.forms %} - {% for fields in form %} - {{ field }} + {% for field in form %} + {{ field.label_tag }}: {{ field }} {% endfor %} {% endfor %}