2015-07-08 01:14:55 +03:00
|
|
|
<div class="gh-flow">
|
|
|
|
<div class="gh-flow-content-wrap">
|
|
|
|
<section class="gh-flow-content fade-in">
|
2022-10-07 21:07:51 +03:00
|
|
|
<form id="reset" class="gh-signin" method="post" novalidate="novalidate" {{on "submit" (perform this.resetPasswordTask)}}>
|
2022-03-08 20:30:46 +03:00
|
|
|
<header>
|
|
|
|
<div class="gh-site-icon" style={{site-icon-style}}></div>
|
|
|
|
<h1>Reset your password.</h1>
|
|
|
|
</header>
|
2020-01-16 18:14:03 +03:00
|
|
|
<GhFormGroup @errors={{this.errors}} @hasValidated={{this.hasValidated}} @property="newPassword">
|
2017-07-20 14:06:02 +03:00
|
|
|
<span class="gh-input-icon gh-icon-lock">
|
2022-10-07 21:07:51 +03:00
|
|
|
<input
|
|
|
|
type="password"
|
|
|
|
name="newPassword"
|
|
|
|
placeholder="New password"
|
|
|
|
aria-label="New password"
|
|
|
|
class="gh-input password reset-password"
|
|
|
|
autocorrect="off"
|
|
|
|
value={{this.newPassword}}
|
|
|
|
{{autofocus}}
|
|
|
|
{{on "input" this.handleInput}}
|
|
|
|
/>
|
2017-07-20 14:06:02 +03:00
|
|
|
</span>
|
2020-01-16 18:14:03 +03:00
|
|
|
</GhFormGroup>
|
|
|
|
<GhFormGroup @errors={{this.errors}} @hasValidated={{this.hasValidated}} @property="ne2Password">
|
2017-07-20 14:06:02 +03:00
|
|
|
<span class="gh-input-icon gh-icon-lock">
|
2022-10-07 21:07:51 +03:00
|
|
|
<input
|
|
|
|
type="password"
|
|
|
|
name="ne2Password"
|
|
|
|
placeholder="Confirm new password"
|
|
|
|
aria-label="Confirm new password"
|
|
|
|
class="gh-input password reset-password"
|
|
|
|
autocorrect="off"
|
|
|
|
value={{this.ne2Password}}
|
|
|
|
{{on "input" this.handleInput}}
|
|
|
|
/>
|
2017-07-20 14:06:02 +03:00
|
|
|
</span>
|
2020-01-16 18:14:03 +03:00
|
|
|
</GhFormGroup>
|
2015-08-25 14:32:29 +03:00
|
|
|
|
2022-10-07 21:07:51 +03:00
|
|
|
<GhTaskButton @buttonText="Save new password" @task={{this.resetPasswordTask}} @class="gh-btn gh-btn-reset gh-btn-block gh-btn-icon" @type="submit" @autoWidth="false" />
|
2015-07-08 01:14:55 +03:00
|
|
|
</form>
|
2015-08-25 14:32:29 +03:00
|
|
|
|
2019-12-13 17:20:29 +03:00
|
|
|
<p class="main-error">{{this.flowErrors}} </p>
|
2015-07-08 01:14:55 +03:00
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|