summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2009-09-10 16:12:08 +0000
committerLuke Plant <L.Plant.98@cantab.net>2009-09-10 16:12:08 +0000
commit18a67e1069fa9c415192b7ce2c14b90d0285e281 (patch)
treefe6be57b8c442be9af2e219a1e66fbcd22901384
parent1387b17026abf1fc6b3edbe8febef448a5cbc382 (diff)
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
-rw-r--r--django/contrib/admin/templates/admin/edit_inline/tabular.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/django/contrib/admin/templates/admin/edit_inline/tabular.html b/django/contrib/admin/templates/admin/edit_inline/tabular.html
index ecc14a46d3..211573ebfc 100644
--- a/django/contrib/admin/templates/admin/edit_inline/tabular.html
+++ b/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>