Blame view
imports/ui/pages/recover-password.js
974 Bytes
2b1ad7917
|
1 |
import React from 'react'; |
7df77f0fa
|
2 3 |
import { Row, Col, Alert, Input, Button } from 'react-bootstrap'; import { handleRecoverPassword } from '../../modules/recover-password'; |
2b1ad7917
|
4 |
|
7df77f0fa
|
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
export class RecoverPassword extends React.Component { componentDidMount() { handleRecoverPassword( { component: this } ); } handleSubmit( event ) { event.preventDefault(); } render() { return <Row> <Col xs={ 12 } sm={ 6 } md={ 4 }> <h4 className="page-header">Recover Password</h4> <Alert bsStyle="info">Enter your email address below to receive a link to reset your password.</Alert> <form ref="recoverPassword" className="recover-password" onSubmit={ this.handleSubmit }> <Input type="email" ref="emailAddress" name="emailAddress" placeholder="Email Address" /> <Button type="submit" bsStyle="success">Recover Password</Button> </form> </Col> </Row>; } } |