diff --git a/src/components/join-flow/email-step.jsx b/src/components/join-flow/email-step.jsx index baf3b46b4..3d598a91f 100644 --- a/src/components/join-flow/email-step.jsx +++ b/src/components/join-flow/email-step.jsx @@ -5,6 +5,7 @@ const PropTypes = require('prop-types'); import {Formik} from 'formik'; const {injectIntl, intlShape} = require('react-intl'); const emailValidator = require('email-validator'); +const FormattedMessage = require('react-intl').FormattedMessage; const JoinFlowStep = require('./join-flow-step.jsx'); const FormikInput = require('../../components/formik-forms/formik-input.jsx'); @@ -55,8 +56,25 @@ class EmailStep extends React.Component { return ( + + + ) + }} + /> + )} headerImgSrc="/images/hoc/getting-started.jpg" innerContentClassName="modal-inner-content-email" + nextButton={this.props.intl.formatMessage({id: 'registration.createAccount'})} title={this.props.intl.formatMessage({id: 'registration.emailStepTitle'})} waiting={isSubmitting} onSubmit={handleSubmit} diff --git a/src/components/join-flow/join-flow-step.jsx b/src/components/join-flow/join-flow-step.jsx index 414fa6fff..cf2c191f9 100644 --- a/src/components/join-flow/join-flow-step.jsx +++ b/src/components/join-flow/join-flow-step.jsx @@ -13,6 +13,7 @@ const JoinFlowStep = ({ children, className, description, + footerContent, headerImgSrc, infoMessage, innerContentClassName, @@ -52,6 +53,11 @@ const JoinFlowStep = ({ {children} + {footerContent && ( +
+ {footerContent} +
+ )}