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/forgot-password.hbs
2018-12-13 13:34:26 +00:00

13 lines
622 B
Handlebars

<form {{action "forgot" on="submit"}}>
{{#if sayThanks}}
<div class="reset-thanks margin-bottom-30">Thanks. Check your email for instructions.</div>
{{else}}
<div class="form-group">
<label for="email">Email</label>
{{focus-input type="email" value=email id="email" class=(if hasEmptyEmailError "form-control is-invalid" "form-control")}}
</div>
{{ui/ui-button color=constants.Color.Yellow light=true label=constants.Label.Reset onClick=(action "forgot")}}
{{/if}}
{{ui/ui-spacer size=400}}
{{#link-to "auth.login"}}Click here to sign in{{/link-to}}
</form>