Merge branch 'onelab' of ssh://git.onelab.eu/git/myslice into onelab
[unfold.git] / portal / templates / password_reset_confirm.html
1 {% extends "layout.html" %}
2 {% block content %}
3 {% load i18n %}
4 {% if validlink %}
5
6 <div class="row">
7         <div class="col-md-12">
8         <h1><img src="{{ STATIC_URL }}icons/user-xs.png" alt="Password reset" /> Password reset</h1>
9         </div>
10 </div>
11 <div class="row">
12         <div class="col-md-12">
13         <h3>Secured Password reset wizard</h3>
14
15         <p>Please enter your new password twice so we can verify you typed it in correctly.</p>
16         
17         <form action="" method="post">{% 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" class="btn btn-onelab" value="{% trans 'Change my password' %}" /></p>
23         </form>
24
25 {% else %}
26         
27         <h3>Onelab secured Password reset wizard</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         </div>
33 </div>
34 {% endif %}
35
36 {% endblock %}
37