Add Django-1.2.1
[frozenviper.git] / Django-1.2.1 / django / contrib / admin / templates / registration / password_reset_confirm.html
blobdf9cf1b316d2bc2a178605159b44abb9fae495df
1 {% extends "admin/base_site.html" %}
2 {% load i18n %}
4 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a> &rsaquo; {% trans 'Password reset confirmation' %}</div>{% endblock %}
6 {% block title %}{% trans 'Password reset' %}{% endblock %}
8 {% block content %}
10 {% if validlink %}
12 <h1>{% trans 'Enter new password' %}</h1>
14 <p>{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p>
16 <form action="" method="post">{% csrf_token %}
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>
24 {% else %}
26 <h1>{% trans 'Password reset unsuccessful' %}</h1>
28 <p>{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}</p>
30 {% endif %}
32 {% endblock %}