Revision: 13263
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 16, 2009 13:47 by fnl
Initial Code
{{ formset.non_form_errors }} <table id="formset" class="form"> {% for form in formset.forms %} {# TODO: showing form.non_field_errors #} {% if forloop.first %} <thead><tr> {% for field in form.visible_fields %} <th>{{ field.label|capfirst }}</th> {% endfor %} </tr></thead> {% endif %} <tr class="{% cycle row1,row2 %}"> {% for field in form.visible_fields %} <td> {# Include the hidden fields in the form #} {% if forloop.first %} {% for hidden in form.hidden_fields %} {{ hidden }} {% endfor %} {% endif %} {{ field.errors.as_ul }} {{ field }} </td> {% endfor %} </tr> {% endfor %} </table>
Initial URL
Initial Description
Initial Title
Django formset tabulated fields (as in InlineTablular)
Initial Tags
textmate, template, django
Initial Language
Other