1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 22:59:43 +02:00
documize/gui/app/templates/components/password-reset.hbs

19 lines
981 B
Handlebars
Raw Normal View History

<div class="login-form">
<form {{action 'reset' on="submit"}}>
2017-12-11 20:59:28 +00:00
<div class="form-group">
<label>New Password</label>
2017-12-11 20:59:28 +00:00
{{focus-input type="password" value=password id="newPassword" class=(if hasPasswordError 'form-control is-invalid' 'form-control')}}
<small class="form-text text-muted">Choose a strong password</small>
</div>
2017-12-11 20:59:28 +00:00
<div class="form-group">
<label>Confirm Password</label>
2017-12-11 20:59:28 +00:00
{{input type="password" value=passwordConfirm id="passwordConfirm" class=(if hasConfirmError 'form-control is-invalid' 'form-control')}}
<small class="form-text text-muted">Please type your new password again</small>
</div>
<div class="margin-top-10 margin-bottom-20">
2017-12-11 20:59:28 +00:00
<button type="submit" class="btn btn-success">Reset</button>
<span class="{{unless mustMatch "hide"}} color-red margin-left-20">Passwords must match</span>
</div>
</form>
</div>