Merge branch 'master' of ssh://git.onelab.eu/git/myslice
[myslice.git] / ui / templates / registration / password_reset_confirm.html
1 {% extends "layout-unfold1.html" %}
2 {% load i18n %}
3
4 {% block unfold_main %}
5
6
7 {% block content %}
8
9 {% if validlink %}
10
11 <h2>{% trans 'OneLab secured Password reset wizard' %}</h2>
12 <h3>{% trans 'Enter new password' %}</h3>
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">{% 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>
23
24 {% else %}
25
26 <h2>{% trans 'OneLab secured Password reset wizard' %}</h2>
27 <h3>{% trans 'Password reset unsuccessful!' %}</h3>
28
29 <p> The password reset link was invalid, possibly because it has already been used.  Please request a new <a href="/portal/pass_reset/">password reset.</a></p>
30
31 <p>If you still encounter problem please <a href="/portal/contact/">Contact Support</a> for password recovery.</p> 
32 {% endif %}
33
34 {% endblock %}
35 {% endblock %}
36