#2533: malformed xml in admin template edit_inline_tabular.html
-------------------------------+--------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Type: defect | Status: new
Priority: normal | Milestone:
Component: Admin interface | Version: SVN
Severity: normal | Keywords:
-------------------------------+--------------------------------------------
The edit_inline_tabular.html template of the admin site contains malformed
XML which causes it to fail when serving it as application/xhtml+xml. The
following patch fixes the problem:
{{{
--- django/contrib/admin/templates/admin/edit_inline_tabular.html
(revision 3557)
+++ django/contrib/admin/templates/admin/edit_inline_tabular.html
(working copy)
@@ -7,6 +7,7 @@
<th{{ fw.header_class_attribute }}>{{
fw.field.verbose_name|capfirst|escape }}</th>
{% endif %}
{% endfor %}
+ </tr></thead>
{% for fcw in bound_related_object.form_field_collection_wrappers %}
{% if change %}{% if original_row_needed %}
{% if fcw.obj.original %}
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/2533>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---