layout and style changes
[myslice.git] / portal / templates / password_reset_confirm.html
1 {% extends "layout.html" %}
2 {% block content %}
3
4 {% if validlink %}
5
6 <div class="row">
7         <h1><img src="{{ STATIC_URL }}img/icon_user_small.png" alt="Password reset" /> Password reset</h1>
8 </div>
9 <div class="row">
10         <h3>Onelab secured Password reset wizard</h3>
11
12         <p>Please enter your new password twice so we can verify you typed it in correctly.</p>
13         
14         <form action="" method="post">{% csrf_token %}
15         {{ form.new_password1.errors }}
16         <p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p>
17         {{ form.new_password2.errors }}
18         <p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p>
19         <p><input type="submit" value="{% trans 'Change my password' %}" /></p>
20         </form>
21
22 {% else %}
23         
24         <h3>Onelab secured Password reset wizard</h3>
25
26         <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>
27
28         <p>If you still encounter problem please <a href="/portal/contact/">Contact Support</a> for password recovery.</p> 
29 </div>
30 {% endif %}
31
32 {% endblock %}
33