This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
reset.hbs
40 lines (38 loc) · 1.96 KB
/
reset.hbs
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
<div class="gh-flow">
<div class="gh-flow-content-wrap">
<section class="gh-flow-content fade-in">
<form id="reset" class="gh-signin" method="post" novalidate="novalidate" {{action "submit" on="submit"}}>
{{#gh-form-group errors=this.errors hasValidated=this.hasValidated property="newPassword"}}
<span class="gh-input-icon gh-icon-lock">
{{svg-jar "lock"}}
{{gh-text-input
type="password"
name="newpassword"
placeholder="Password"
class="password"
autocorrect="off"
shouldFocus=true
value=(readonly this.newPassword)
input=(action (mut this.newPassword) value="target.value")}}
</span>
{{/gh-form-group}}
{{#gh-form-group errors=this.errors hasValidated=this.hasValidated property="ne2Password"}}
<span class="gh-input-icon gh-icon-lock">
{{svg-jar "lock"}}
{{gh-text-input
type="password"
name="ne2password"
placeholder="Confirm Password"
class="password"
autocorrect="off"
shouldFocus=true
value=(readonly this.ne2Password)
input=(action (mut this.ne2Password) value="target.value")}}
</span>
{{/gh-form-group}}
{{gh-task-button "Reset Password" task=this.resetPassword class="gh-btn gh-btn-blue gh-btn-block gh-btn-icon" type="submit" autoWidth="false"}}
</form>
<p class="main-error">{{this.flowErrors}} </p>
</section>
</div>
</div>