1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-04 21:15:24 +02:00
documize/gui/app/templates/components/user/forgot-password.hbs
Harvey Kandola 62c3cd03ad [WIP] Improve master layout for different devices + product growth
We have two pressing needs:

1. Improve experience on real estate challenged devices.
2. Make room for product feature-set growth.

To hit these targets, we need to develop better UX through smarter on-screen space management.
2019-05-20 10:39:48 +01:00

17 lines
747 B
Handlebars

<form {{action "forgot" on="submit"}}>
{{#if sayThanks}}
<p class="color-green-700 margin-bottom-30">Thanks. Check your email for instructions.</p>
{{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")}}
{{#if sayError}}
<p class="color-red-700 margin-top-10">Email not found</p>
{{/if}}
</div>
{{ui/ui-button color=constants.Color.Yellow light=true label=constants.Label.Reset onClick=(action "forgot")}}
{{/if}}
<Ui::UiSpacer @size=400 />
{{#link-to "auth.login"}}Click here to sign in{{/link-to}}
</form>