-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpassword_reset_confirm.html
More file actions
35 lines (35 loc) · 1.58 KB
/
password_reset_confirm.html
File metadata and controls
35 lines (35 loc) · 1.58 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
33
34
35
{% load static %}
{% if validlink %}
<link rel="stylesheet" href="{% static 'css/main.css' %}" type="text/css">
<head>
<meta charset="UTF-8">
<title>Reset Password</title>
</head>
<div class="page-wrap gradient-primary">
<div class="container">
<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 autofocus="off" class="form-control" id="id_new_password1" name="new_password1"
:placeholder="Password" type="password">
<div class="error">{{ form.new_password1.errors }}</div>
</div>
<div class="form-group">
<label for="id_new_password2">{{ form.new_password2.label_tag }}</label>
<input autofocus="off" class="form-control" id="id_new_password2" name="new_password2"
:placeholder="Password" type="password">
<div class="error">{{ form.new_password2.errors }}</div>
</div>
<button class="btn btn-primary btn-lg btn-block" name="commit" type="submit">Submit</button>
</form>
</div>
</div>
{% include "base/footer.html" %}
</div>
{% else %}
{% include 'user/password_reset_fail.html' %}
{% endif %}