summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-08-23 18:20:19 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-08-23 18:20:19 +0000
commitcc95b44547eb3eb92dafb7e81516dfb756ad3c59 (patch)
tree1e315d38e25e63f51dd718b3de5921f91c7d65b1
parent77bf14d5817d6b8bcea26607fb52b57d0908ffac (diff)
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
-rw-r--r--django/contrib/admin/templates/registration/password_change_form.html6
1 files 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 @@
<form action="" method="post">
-{% if form.old_password.errors %}{{ form.old_password.html_error_list }}{% endif %}
+{% if form.old_password.errors %}{{ form.old_password.errors }}{% endif %}
<p class="aligned wide"><label for="id_old_password">{% trans 'Old password:' %}</label>{{ form.old_password }}</p>
-{% if form.new_password1.errors %}{{ form.new_password1.html_error_list }}{% endif %}
+{% if form.new_password1.errors %}{{ form.new_password1.errors }}{% endif %}
<p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p>
-{% if form.new_password2.errors %}{{ form.new_password2.html_error_list }}{% endif %}
+{% if form.new_password2.errors %}{{ form.new_password2.errors }}{% endif %}
<p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p>
<p><input type="submit" value="{% trans 'Change my password' %}" /></p>