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
This commit is contained in:
parent
05737128de
commit
7bf9626adb
|
@ -592,8 +592,8 @@ Third, you can manually render each field::
|
||||||
<form method="POST" action="">
|
<form method="POST" action="">
|
||||||
{{ formset.management_form }}
|
{{ formset.management_form }}
|
||||||
{% for form in formset.forms %}
|
{% for form in formset.forms %}
|
||||||
{% for fields in form %}
|
{% for field in form %}
|
||||||
{{ field }}
|
{{ field.label_tag }}: {{ field }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue