templates/registration/password_change_form.html
branchbuildout
changeset 227 3c8f3b0e5b00
parent 214 679c7e237052
child 228 81994e525e69
equal deleted inserted replaced
214:679c7e237052 227:3c8f3b0e5b00
     1 {% extends "base.html" %}
       
     2 {% load i18n %}
       
     3 {% block userlinks %}{% url django-admindocs-docroot as docsroot %}{% if docsroot %}<a href="{{ docsroot }}">{% trans 'Documentation' %}</a> / {% endif %} {% trans 'Change password' %} / <a href="../logout/">{% trans 'Log out' %}</a>{% endblock %}
       
     4 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a> &rsaquo; {% trans 'Password change' %}</div>{% endblock %}
       
     5 
       
     6 {% block title %}{% trans 'Password change' %}{% endblock %}
       
     7 
       
     8 {% block content %}
       
     9 
       
    10 <h1>{% trans 'Password change' %}</h1>
       
    11 
       
    12 <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>
       
    13 
       
    14 <form action="" method="post">
       
    15 
       
    16 {{ form.old_password.errors }}
       
    17 <p class="aligned wide"><label for="id_old_password">{% trans 'Old password:' %}</label>{{ form.old_password }}</p>
       
    18 {{ form.new_password1.errors }}
       
    19 <p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p>
       
    20 {{ form.new_password2.errors }}
       
    21 <p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p>
       
    22 
       
    23 <p><input type="submit" value="{% trans 'Change my password' %}" /></p>
       
    24 </form>
       
    25 
       
    26 {% endblock %}