password_change_form.html 982 B

12345678910111213141516171819202122232425262728293031
  1. {% extends "registration/base.html" %}
  2. {% load i18n %}
  3. {% block title %} {% trans 'Password change' %} {% endblock %}
  4. {% block content %}
  5. <h1>{% trans 'Password change' %}</h1>
  6. <p>{% trans "Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly." %}</p>
  7. <form action="" method="post">
  8. {% csrf_token %}
  9. {{ form.old_password.errors }}
  10. <p class="aligned wide"><label for="id_old_password">{% trans 'Old password:' %}</label>{{ form.old_password }}</p>
  11. {{ form.new_password1.errors }}
  12. <p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p>
  13. {{ form.new_password2.errors }}
  14. <p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p>
  15. <p><input type="submit" value="{% trans 'Change my password' %}" /></p>
  16. </form>
  17. {% endblock %}
  18. {% block content-related %}
  19. {% endblock %}