blob: f5e87ab12dfedbf41ec97de12aba99ce6c22b7a2 (
plain)
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
58
59
60
61
62
|
<main id="solutions-main">
<div class="row">
<div class="slate signin-page col-sm-4 col-sm-offset-4 col-md-4 col-md-offset-4">
<div class="container">
{{# if success }}
<section class="alert alert-success">
<!-- Change those to banners later -->
<p>{{success}}</p>
</section>
{{ else }}
{{# if errors }}
{{# if errors.length}}
<section class="alert alert-danger">
<ul>
{{# each errors }}
<li>{{ this.msg }}</li>
{{/each}}
</ul>
</section>
{{/if}}
{{/if}}
{{# if error}}
<section class="alert alert-danger">
<p>{{error}}</p>
</section>
{{/if}}
{{/if}}
{{#if flashMsg}}
<section class="alert alert-danger">
{{flashMsg}}
</section>
{{/if}}
<h3 class="signin"><hr><i class="fa fa-key" aria-hidden="true"></i> Reset Password<hr></h3>
<form action="/user/password/change" method="post">
<div class="form-group signin-group">
<div class="input-group input-group-lg">
<div class="input-group-addon addon-username">
<i class="fa fa-lock" aria-hidden="true"></i>
</div>
<input type="password" class="form-control input-username" placeholder="password" name="password">
</div>
<div class="input-group input-group-lg">
<div class="input-group-addon addon-password">
<i class="fa fa-unlock-alt" aria-hidden="true"></i>
</div>
<input type="password" class="form-control input-lg input-password" placeholder="confirm password" name="confirmPassword">
</div>
</div>
<input type="hidden" name="_email" value="{{ email}}">
<input type="hidden" name="_csrf" value="{{ csrfToken }}">
<button class="signin-btn signin-insite btn-lg btn btn-primary btn-block"><span>Submit</span></button>
</form>
</div>
</div>
</div>
</main>
|