From 7b4b1309d92feab417e48d391482f81e6ba683ee Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Thu, 7 Aug 2008 21:18:43 +0000 Subject: [PATCH] Added a 'name' attribute to the 'Save' button on admin change form This makes it much easier/possible for testing tools e.g. twill to find the 'Save' submit button. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8226 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/templates/admin/submit_line.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/templates/admin/submit_line.html b/django/contrib/admin/templates/admin/submit_line.html index 25f581963e..3ff80ad64c 100644 --- a/django/contrib/admin/templates/admin/submit_line.html +++ b/django/contrib/admin/templates/admin/submit_line.html @@ -4,5 +4,5 @@ {% if show_save_as_new %}{%endif%} {% if show_save_and_add_another %}{% endif %} {% if show_save_and_continue %}{% endif %} -{% if show_save %}{% endif %} +{% if show_save %}{% endif %}