source: mauRepo/dj_security/trunk/dj_security/templates/registration/password_reset_confirm.html @ 8650

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/dj_security/trunk/dj_security/templates/registration/password_reset_confirm.html@8650
Revision 8650, 1.0 KB checked in by mnagni, 7 years ago (diff)

Share project "dj_security" into " http://proj.badc.rl.ac.uk/svn/ndg/mauRepo"

  • Property svn:executable set to *
  • Property svn:mime-type set to text/plain
Line 
1{% extends "registration/base.html" %}
2{% load i18n %}
3
4{% block breadcrumbs %}<div class="breadcrumbs"></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        {% csrf_token %}
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<p><input type="submit" value="{% trans 'Change my password' %}" /></p>
23</form>
24
25{% else %}
26
27<h1>{% trans 'Password reset unsuccessful' %}</h1>
28
29<p>{% trans "The password reset link was invalid, possibly because it has already been used.  Please request a new password reset." %}</p>
30
31{% endif %}
32
33{% endblock %}
Note: See TracBrowser for help on using the repository browser.