Code

Ticket #11591: tabular.diff

File tabular.diff, 785 bytes (added by rlaager@…, 5 years ago)
Line 
1Index: django/contrib/admin/templates/admin/edit_inline/tabular.html
2===================================================================
3--- django/contrib/admin/templates/admin/edit_inline/tabular.html       (revision 10834)
4+++ django/contrib/admin/templates/admin/edit_inline/tabular.html       (working copy)
5@@ -15,6 +15,7 @@
6      {% if inline_admin_formset.formset.can_delete %}<th>{% trans "Delete?" %}</th>{% endif %}
7      </tr></thead>
8 
9+     <tbody>
10      {% for inline_admin_form in inline_admin_formset %}
11         {% if inline_admin_form.form.non_field_errors %}
12         <tr><td colspan="{{ inline_admin_form.field_count }}">{{ inline_admin_form.form.non_field_errors }}</td></tr>
13@@ -57,7 +58,7 @@
14         </tr>
15 
16      {% endfor %}
17-
18+     </tbody>
19    </table>
20 
21 </fieldset>