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">
|
|
|
|
<form id="reset" class="gh-signin" method="post" novalidate="novalidate" {{action "submit" on="submit"}}>
|
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">
|
2020-01-16 18:14:03 +03:00
|
|
|
<GhTextInput
|
|
|
|
@type="password"
|
|
|
|
@name="newpassword"
|
2020-05-07 12:33:27 +03:00
|
|
|
@placeholder="New password"
|
2020-01-16 18:14:03 +03:00
|
|
|
@class="password"
|
|
|
|
@autocorrect="off"
|
|
|
|
@shouldFocus={{true}}
|
|
|
|
@value={{readonly this.newPassword}}
|
|
|
|
@input={{action (mut this.newPassword) value="target.value"}} />
|
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">
|
2020-01-16 18:14:03 +03:00
|
|
|
<GhTextInput
|
|
|
|
@type="password"
|
|
|
|
@name="ne2password"
|
2020-05-07 12:33:27 +03:00
|
|
|
@placeholder="Confirm new password"
|
2020-01-16 18:14:03 +03:00
|
|
|
@class="password"
|
|
|
|
@autocorrect="off"
|
|
|
|
@value={{readonly this.ne2Password}}
|
|
|
|
@input={{action (mut this.ne2Password) value="target.value"}} />
|
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
|
|
|
|
2021-03-03 19:16:44 +03:00
|
|
|
<GhTaskButton @buttonText="Save new password" @task={{this.resetPassword}} @class="gh-btn gh-btn-blue 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>
|