mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +03:00
1bad6dee4e
no-issue
19 lines
742 B
JavaScript
19 lines
742 B
JavaScript
import FormHeader from '../components/FormHeader';
|
|
import EmailInput from '../components/EmailInput';
|
|
import FormSubmit from '../components/FormSubmit';
|
|
|
|
import Form from '../components/Form';
|
|
|
|
export default ({error, handleClose, handleSubmit}) => (
|
|
<div className="gm-modal-form gm-reset-pwd-page">
|
|
<FormHeader title="Reset password" error={error} errorText="Unable to send email" />
|
|
<Form bindTo="request-password-reset" onSubmit={handleSubmit}>
|
|
<EmailInput bindTo="email" className="single" />
|
|
<FormSubmit label="Send reset password instructions" />
|
|
<div class="flex justify-center mt5">
|
|
<a href="#signin">Cancel</a>
|
|
</div>
|
|
</Form>
|
|
</div>
|
|
);
|