-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathset-new-password.html
More file actions
41 lines (31 loc) · 1.07 KB
/
Copy pathset-new-password.html
File metadata and controls
41 lines (31 loc) · 1.07 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
36
37
38
39
40
41
{% extends 'base.html' %}
{% block title %}Set password{% endblock title %}
{% block content %}
<div class="card bg-light p-5">
{% for message in messages %}
<div class="alert alert-{{message.tags}} alert-dismissible fade show" role="alert">
<strong>{{message}}</strong>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
{% endfor %}
<h3 class="text-dark">Set New Password</h3>
<form action="{% url 'set-new-password' uidb64 token %}" method="post">{% csrf_token %}
<br>
<label for="pass1">Password</label>
<div class="form-group">
<input type="password" class="form-control" id="pass1" name="pass1" required>
</div>
<label for="pass2">Confirm Password</label>
<div class="form-group">
<input type="password" class="form-control" id="pass2" name="pass2" required>
</div>
<br>
<br>
<button type="submit" class="btn btn-success">Submit</button>
<hr>
<a href="/auth/login/">Go back?</a>
<br>
<br>
</form>
</div>
{% endblock content %}