Author: mtredinnick
Date: 2008-08-23 13:20:19 -0500 (Sat, 23 Aug 2008)
New Revision: 8496

Modified:
   
django/trunk/django/contrib/admin/templates/registration/password_change_form.html
Log:
Updated password change template (in admin templates) to use current form
variables (rather than oldforms stuff). Patch from Mike Richardson. Refs #8402.


Modified: 
django/trunk/django/contrib/admin/templates/registration/password_change_form.html
===================================================================
--- 
django/trunk/django/contrib/admin/templates/registration/password_change_form.html
  2008-08-23 18:08:28 UTC (rev 8495)
+++ 
django/trunk/django/contrib/admin/templates/registration/password_change_form.html
  2008-08-23 18:20:19 UTC (rev 8496)
@@ -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>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to