From cc95b44547eb3eb92dafb7e81516dfb756ad3c59 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sat, 23 Aug 2008 18:20:19 +0000 Subject: [PATCH] Updated password change template (in admin templates) to use current form variables (rather than oldforms stuff). Patch from Mike Richardson. Refs #8402. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8496 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- .../admin/templates/registration/password_change_form.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/django/contrib/admin/templates/registration/password_change_form.html b/django/contrib/admin/templates/registration/password_change_form.html index 036d56212c..4facc0ec01 100644 --- a/django/contrib/admin/templates/registration/password_change_form.html +++ b/django/contrib/admin/templates/registration/password_change_form.html @@ -13,11 +13,11 @@
-{% if form.old_password.errors %}{{ form.old_password.html_error_list }}{% endif %} +{% if form.old_password.errors %}{{ form.old_password.errors }}{% endif %}

{{ form.old_password }}

-{% if form.new_password1.errors %}{{ form.new_password1.html_error_list }}{% endif %} +{% if form.new_password1.errors %}{{ form.new_password1.errors }}{% endif %}

{{ form.new_password1 }}

-{% if form.new_password2.errors %}{{ form.new_password2.html_error_list }}{% endif %} +{% if form.new_password2.errors %}{{ form.new_password2.errors }}{% endif %}

{{ form.new_password2 }}