Browse files

Fixed #11591: invalid HTML in tabular.html.

Thanks rlaager(at)wiktel.com



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 1387b17 commit 18a67e1069fa9c415192b7ce2c14b90d0285e281 @spookylukey spookylukey committed Sep 10, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 django/contrib/admin/templates/admin/edit_inline/tabular.html
View
3 django/contrib/admin/templates/admin/edit_inline/tabular.html
@@ -15,6 +15,7 @@
{% if inline_admin_formset.formset.can_delete %}<th>{% trans "Delete?" %}</th>{% endif %}
</tr></thead>
+ <tbody>
{% for inline_admin_form in inline_admin_formset %}
{% if inline_admin_form.form.non_field_errors %}
<tr><td colspan="{{ inline_admin_form.field_count }}">{{ inline_admin_form.form.non_field_errors }}</td></tr>
@@ -57,7 +58,7 @@
</tr>
{% endfor %}
-
+ </tbody>
</table>
</fieldset>

0 comments on commit 18a67e1

Please sign in to comment.