2019-02-07 12:39:55 +03:00
|
|
|
|
import FormHeader from '../components/FormHeader';
|
|
|
|
|
import FormSubmit from '../components/FormSubmit';
|
|
|
|
|
|
2019-02-26 06:09:16 +03:00
|
|
|
|
import Form from '../components/Form';
|
|
|
|
|
|
2019-02-15 11:35:03 +03:00
|
|
|
|
export default ({ error, handleSubmit }) => (
|
2019-02-15 20:16:30 +03:00
|
|
|
|
<div className="gm-modal-form">
|
2019-02-26 06:09:16 +03:00
|
|
|
|
<FormHeader title="Reset password" error={error} errorText="Unable to send email" />
|
2019-02-15 11:35:03 +03:00
|
|
|
|
<Form bindTo="request-password-reset" onSubmit={handleSubmit}>
|
|
|
|
|
<div className="gm-reset-sent">
|
|
|
|
|
<p>We’ve sent a recovery email to your inbox. Follow the link in the email to reset your password.</p>
|
|
|
|
|
</div>
|
2019-02-26 06:09:16 +03:00
|
|
|
|
<FormSubmit label="Close" />
|
2019-02-15 11:35:03 +03:00
|
|
|
|
</Form>
|
2019-02-07 12:39:55 +03:00
|
|
|
|
</div>
|
|
|
|
|
);
|