-
Notifications
You must be signed in to change notification settings - Fork 1
/
change-password-current.html
57 lines (51 loc) · 2.61 KB
/
change-password-current.html
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{% extends "layout.html" %}
{% block content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">
Change password
</h1>
</div>
</div>
<div class="row">
<div class="col-9">
<form method="post" action="/change-password-new" id="form-current-password" novalidate="novalidate">
<fieldset>
<legend class="vh">Enter your current password</legend>
<div class="form-group">
<label class="form-label-bold" for="current-password">Enter your current password</label>
<span class="error-message"></span>
<div class="show-password">
<input class="form-control" id="current-password" name="current-password" type="password" required="required" pattern=".{8,}" data-validation="Enter a password in the following format">
</div>
</div>
<hr>
<div class="form-group">
<label for="new-password" class="form-label-bold">Create new password</label>
<div class="form-hint">
<p>Your password must:</p>
<ul class="list-bullet">
<li>be at least 8 characters</li>
<li>have at least one number (0-9)</li>
<li>have at least one letter (a-z)</li>
<li>not contain common words (e.g. password)</li>
</ul>
</div>
<div class="show-password">
<input class="form-control" id="new-password" name="new-password" type="password" required="required">
</div>
</div>
<div class="form-group">
<label class="form-label-bold" for="confirm-password">Confirm your new password</label>
<div class="show-password">
<input class="form-control" id="confirm-password" name="confirm-password" type="password" required="required">
</div>
</div>
<div class="form-submit">
<button type="submit" class="button">Continue</button>
</div>
</fieldset>
</form>
</div>
</div>
{% endblock %}