-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpassword_reset_confirm.html
More file actions
32 lines (32 loc) · 1.49 KB
/
password_reset_confirm.html
File metadata and controls
32 lines (32 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{% extends 'base/layout.html' %}
{% block title %}Reset Password{% endblock %}
{% block content %}
{% if validlink %}
<div class="panel">
<h2 class="h3">{{ title }}</h2>
<p class="tc gray-90 inverted-wrapper">Please enter your new password twice so we can verify you typed it in correctly.</p>
<form method="post">
{% csrf_token %}
<div class="form-group">
<label for="id_new_password1">{{ form.new_password1.label_tag }}</label>
<input autocomplete="new-password" class="form-control" id="id_new_password1" name="new_password1"
placeholder="Password" type="password">
<div class="error" role="alert">{{ form.new_password1.errors }}</div>
</div>
<div class="form-group">
<label for="id_new_password2">{{ form.new_password2.label_tag }}</label>
<input autocomplete="new-password" class="form-control" id="id_new_password2" name="new_password2"
placeholder="Password" type="password">
<div class="error" role="alert">{{ form.new_password2.errors }}</div>
</div>
<button class="btn btn-primary btn-lg btn-block" name="commit" type="submit">Submit</button>
</form>
</div>
{% else %}
<div class="panel">
<h2 class="h3">The password reset link was invalid</h2>
<p class="tc gray-90 inverted-wrapper">Possibly because it has already been used. Please request a new password reset.</p>
<div class="inverted-wrapper"></div>
</div>
{% endif %}
{% endblock %}