mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
3b7d35ed0a
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>
|
|
);
|