2016-07-26 14:52:32 +02:00
|
|
|
<div class="login-form">
|
|
|
|
<form {{action 'reset' on="submit"}}>
|
2017-12-11 20:59:28 +00:00
|
|
|
<div class="form-group">
|
2016-07-26 14:52:32 +02:00
|
|
|
<label>New Password</label>
|
2018-06-29 16:06:50 +01:00
|
|
|
{{focus-input type="password" value=password id="newPassword" autocomplete="new-password" class=(if hasPasswordError 'form-control is-invalid' 'form-control')}}
|
2017-12-11 20:59:28 +00:00
|
|
|
<small class="form-text text-muted">Choose a strong password</small>
|
2016-07-26 14:52:32 +02:00
|
|
|
</div>
|
2017-12-11 20:59:28 +00:00
|
|
|
<div class="form-group">
|
2016-07-26 14:52:32 +02:00
|
|
|
<label>Confirm Password</label>
|
2018-06-29 16:06:50 +01:00
|
|
|
{{input type="password" value=passwordConfirm id="passwordConfirm" autocomplete="new-password" class=(if hasConfirmError 'form-control is-invalid' 'form-control')}}
|
2017-12-11 20:59:28 +00:00
|
|
|
<small class="form-text text-muted">Please type your new password again</small>
|
2016-07-26 14:52:32 +02:00
|
|
|
</div>
|
|
|
|
<div class="margin-top-10 margin-bottom-20">
|
2018-06-29 16:06:50 +01:00
|
|
|
<button type="submit" class="btn btn-success font-weight-bold text-uppercase">Reset</button>
|
2018-12-04 17:26:57 +00:00
|
|
|
<span class="{{unless mustMatch "d-none"}} color-red-600 margin-left-20">Passwords must match</span>
|
2016-07-26 14:52:32 +02:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|