From 9661076827bcbc3960824c67ac90bee524a57f86 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Sat, 4 Feb 2006 19:38:34 +0000 Subject: [PATCH] magic-removal: Fixed HTML errors in admin/change_form template git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2269 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/templates/admin/change_form.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/django/contrib/admin/templates/admin/change_form.html b/django/contrib/admin/templates/admin/change_form.html index 8133217a24..47cdda31ab 100644 --- a/django/contrib/admin/templates/admin/change_form.html +++ b/django/contrib/admin/templates/admin/change_form.html @@ -21,7 +21,8 @@ {% endif %}{% endif %}
{% block form_top %}{% endblock %} -{% if is_popup %}{% endif %} +
+{% if is_popup %}{% endif %} {% if opts.admin.save_on_top %}{% submit_row %}{% endif %} {% if form.error_dict %}

@@ -60,5 +61,6 @@ {% auto_populated_field_script auto_populated_fields change %} {% endif %} +

{% endblock %}