Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit cc95b44547eb3eb92dafb7e81516dfb756ad3c59 1 parent 77bf14d
Malcolm Tredinnick authored August 23, 2008
6  django/contrib/admin/templates/registration/password_change_form.html
@@ -13,11 +13,11 @@
13 13
 
14 14
 <form action="" method="post">
15 15
 
16  
-{% if form.old_password.errors %}{{ form.old_password.html_error_list }}{% endif %}
  16
+{% if form.old_password.errors %}{{ form.old_password.errors }}{% endif %}
17 17
 <p class="aligned wide"><label for="id_old_password">{% trans 'Old password:' %}</label>{{ form.old_password }}</p>
18  
-{% if form.new_password1.errors %}{{ form.new_password1.html_error_list }}{% endif %}
  18
+{% if form.new_password1.errors %}{{ form.new_password1.errors }}{% endif %}
19 19
 <p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p>
20  
-{% if form.new_password2.errors %}{{ form.new_password2.html_error_list }}{% endif %}
  20
+{% if form.new_password2.errors %}{{ form.new_password2.errors }}{% endif %}
21 21
 <p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p>
22 22
 
23 23
 <p><input type="submit" value="{% trans 'Change my password' %}" /></p>

0 notes on commit cc95b44

Please sign in to comment.
Something went wrong with that request. Please try again.