1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-25 08:09:43 +02:00
documize/gui/app/templates/components/user/password-reset.hbs
Harvey Kandola 6eb68f84e0 Introduce modular UI framework
1. Modals wrapped
2. Toolbar icon actions: click and link-to navigation
3. Moved components into sub-folders
4. Replaced Bootstrap Tooltip and Dropdown libs with Ember specific add-ons

And more.

Co-Authored-By: Saul S <sauls8t@users.noreply.github.com>
Co-Authored-By: McMatts <matt@documize.com>
2018-12-11 18:00:08 +00:00

18 lines
1 KiB
Handlebars

<div class="login-form">
<form {{action "reset" on="submit"}}>
<div class="form-group">
<label>New Password</label>
{{focus-input type="password" value=password id="newPassword" autocomplete="new-password" class=(if hasPasswordError "form-control is-invalid" "form-control")}}
<small class="form-text text-muted">Choose a strong password</small>
</div>
<div class="form-group">
<label>Confirm Password</label>
{{input type="password" value=passwordConfirm id="passwordConfirm" autocomplete="new-password" 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">
<button type="submit" class="btn btn-success font-weight-bold text-uppercase">Reset</button>
<span class="{{unless mustMatch "d-none"}} color-red-600 margin-left-20">Passwords must match</span>
</div>
</form>
</div>