mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 00:11:49 +03:00
3fbe1981d0
no issue
16 lines
593 B
JavaScript
16 lines
593 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">
|
|
<FormHeader title="Reset password" error={error} errorText="Unable to send email" />
|
|
<Form bindTo="request-password-reset" onSubmit={handleSubmit}>
|
|
<EmailInput bindTo="email" />
|
|
<FormSubmit label="Send reset password instructions" />
|
|
</Form>
|
|
</div>
|
|
);
|