templates/registration/password_reset_confirm.html
changeset 270 df56daf2178e
equal deleted inserted replaced
269:dde894b36370 270:df56daf2178e
       
     1 {% extends "base.html" %}
       
     2 {% load i18n %}
       
     3 
       
     4 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a> &rsaquo; {% trans 'Password reset confirmation' %}</div>{% endblock %}
       
     5 
       
     6 {% block title %}{% trans 'Password reset' %}{% endblock %}
       
     7 
       
     8 {% block content %}
       
     9 
       
    10 {% if validlink %}
       
    11 
       
    12 <h1>{% trans 'Enter new password' %}</h1>
       
    13 
       
    14 <p>{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p>
       
    15 
       
    16 <form action="" method="post">
       
    17 {{ form.new_password1.errors }}
       
    18 <p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p>
       
    19 {{ form.new_password2.errors }}
       
    20 <p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p>
       
    21 <p><input type="submit" value="{% trans 'Change my password' %}" /></p>
       
    22 </form>
       
    23 
       
    24 {% else %}
       
    25 
       
    26 <h1>{% trans 'Password reset unsuccessful' %}</h1>
       
    27 
       
    28 <p>{% trans "The password reset link was invalid, possibly because it has already been used.  Please request a new password reset." %}</p>
       
    29 
       
    30 {% endif %}
       
    31 
       
    32 {% endblock %}