1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-30 18:49:43 +02:00
documize/gui/app/templates/components/user/forgot-password.hbs

14 lines
622 B
Handlebars
Raw Normal View History

2018-12-08 20:54:19 +00:00
<form {{action "forgot" on="submit"}}>
{{#if sayThanks}}
<div class="reset-thanks margin-bottom-30">Thanks. Check your email for instructions.</div>
{{else}}
2017-11-27 19:07:36 +00:00
<div class="form-group">
<label for="email">Email</label>
2018-12-08 20:54:19 +00:00
{{focus-input type="email" value=email id="email" class=(if hasEmptyEmailError "form-control is-invalid" "form-control")}}
</div>
2018-12-13 13:34:26 +00:00
{{ui/ui-button color=constants.Color.Yellow light=true label=constants.Label.Reset onClick=(action "forgot")}}
{{/if}}
2018-12-13 13:34:26 +00:00
{{ui/ui-spacer size=400}}
{{#link-to "auth.login"}}Click here to sign in{{/link-to}}
</form>