Ticket #9276: stacked_html.diff
File stacked_html.diff, 982 bytes (added by , 16 years ago) |
---|
-
django/contrib/admin/templates/admin/edit_inline/stacked.html
5 5 {{ inline_admin_formset.formset.non_form_errors }} 6 6 7 7 {% for inline_admin_form in inline_admin_formset %} 8 <div class="inline-related {% if forloop.last %}last-related{% endif %}">8 <div class="inline-related{% if forloop.last %} last-related{% endif %}"> 9 9 <h3><b>{{ inline_admin_formset.opts.verbose_name|title }}:</b> {% if inline_admin_form.original %}{{ inline_admin_form.original }}{% else %} #{{ forloop.counter }}{% endif %} 10 10 {% if inline_admin_formset.formset.can_delete and inline_admin_form.original %}<span class="delete">{{ inline_admin_form.deletion_field.field }} {{ inline_admin_form.deletion_field.label_tag }}</span>{% endif %} 11 11 </h3>