2018-12-08 20:54:19 +00:00
|
|
|
<form {{action "forgot" on="submit"}}>
|
2016-07-26 14:49:47 +02:00
|
|
|
{{#if sayThanks}}
|
2022-03-04 13:07:11 -05:00
|
|
|
<p class="color-green-700 margin-bottom-30">{{localize 'reset_password_next'}}.</p>
|
2016-07-26 14:49:47 +02:00
|
|
|
{{else}}
|
2017-11-27 19:07:36 +00:00
|
|
|
<div class="form-group">
|
2022-03-04 13:07:11 -05:00
|
|
|
<label for="email">{{localize '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")}}
|
2019-04-09 13:24:27 +01:00
|
|
|
{{#if sayError}}
|
2022-03-04 13:07:11 -05:00
|
|
|
<p class="color-red-700 margin-top-10">{{localize 'not_found'}}</p>
|
2019-04-09 13:24:27 +01:00
|
|
|
{{/if}}
|
2016-07-26 14:49:47 +02:00
|
|
|
</div>
|
2022-03-01 22:40:51 -05:00
|
|
|
{{ui/ui-button color=constants.Color.Yellow light=true label=(localize 'reset') onClick=(action "forgot")}}
|
2016-07-26 14:49:47 +02:00
|
|
|
{{/if}}
|
2019-04-09 13:24:27 +01:00
|
|
|
|
2019-05-28 10:59:48 +01:00
|
|
|
<Ui::UiSpacer @size="400" />
|
2022-03-04 13:07:11 -05:00
|
|
|
{{#link-to "auth.login"}}{{localize 'signin'}}{{/link-to}}
|
2016-07-26 14:49:47 +02:00
|
|
|
</form>
|