Ticket #9884: modelforms.2.diff

File modelforms.2.diff, 900 bytes (added by Brad Montgomery, 16 years ago)

correct diff file (from svn diff) please disregard previous file

  • docs/topics/forms/modelforms.txt

     
    589589
    590590    <form method="POST" action="">
    591591        {{ formset.management_form }}
    592         {% for form in formset.formset %}
    593             {% for fields in form %}
    594                 {{ field }}
     592        {% for form in formset.forms %}
     593            {% for field in form %}
     594                {{ field.label_tag }} {{ field }} {{ field.help_text }}
    595595            {% endfor %}
    596596        {% endfor %}
    597597    </form>
     
    602602
    603603    <form method="POST" action="">
    604604        {{ formset.management_form }}
    605         {% for form in formset.formset %}
     605        {% for form in formset.forms %}
    606606            {{ form.id }}
    607607            <ul>
    608608                <li>{{ form.name }}</li>
Back to Top