PasswordResetRequestForm.jsx 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. import React from 'react';
  2. import PropTypes from 'prop-types';
  3. import { withTranslation } from 'react-i18next';
  4. const PasswordResetRequestForm = (props) => {
  5. // const { t } = props;
  6. return (
  7. <>
  8. <div className="container">
  9. <div className="row">
  10. <div className="col-md-4 col-md-offset-4">
  11. <div className="card">
  12. <div className="card-body">
  13. <div className="text-center">
  14. <h3><i className="fa fa-lock fa-4x"></i></h3>
  15. <h2 className="text-center">Forgot Password?</h2>
  16. <p>You can reset your password here.</p>
  17. <div className="card-body">
  18. <form id="register-form" role="form" autoComplete="off" className="form" method="post">
  19. <div className="form-group">
  20. <div className="input-group">
  21. <span className="input-group-addon">
  22. <i className="glyphicon glyphicon-envelope" />
  23. </span>
  24. <input name="email" placeholder="email address" className="form-control" type="email" />
  25. </div>
  26. </div>
  27. <div className="form-group">
  28. <input name="reset-password-btn" className="btn btn-lg btn-primary btn-block" value="Reset Password" type="submit" />
  29. </div>
  30. </form>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. </>
  39. );
  40. };
  41. PasswordResetRequestForm.propTypes = {
  42. t: PropTypes.func.isRequired, // i18next
  43. };
  44. export default withTranslation()(PasswordResetRequestForm);