add help text for fullname field (#350)
This commit is contained in:
committed by
Waheed Ahmed
parent
bca81f7e33
commit
62b671eb03
@@ -552,6 +552,7 @@ class RegistrationPage extends React.Component {
|
||||
handleChange={this.handleOnChange}
|
||||
handleFocus={this.handleOnFocus}
|
||||
errorMessage={this.state.errors.name}
|
||||
helpText={[intl.formatMessage(messages['help.text.name'])]}
|
||||
floatingLabel={intl.formatMessage(messages['registration.fullname.label'])}
|
||||
/>
|
||||
<UsernameField
|
||||
@@ -604,7 +605,7 @@ class RegistrationPage extends React.Component {
|
||||
handleChange={(value) => this.setState({ country: value })}
|
||||
errorCode={this.state.errorCode}
|
||||
/>
|
||||
<div id="honor-code" className="micro mt-4">
|
||||
<div id="honor-code" className="micro text-muted mt-4">
|
||||
<FormattedMessage
|
||||
id="register.page.terms.of.service.and.honor.code"
|
||||
defaultMessage="By creating an account, you agree to the {tosAndHonorCode} and you acknowledge that {platformName} and each
|
||||
|
||||
@@ -33,6 +33,11 @@ const messages = defineMessages({
|
||||
description: 'Placeholder for the country options dropdown.',
|
||||
},
|
||||
// Help text
|
||||
'help.text.name': {
|
||||
id: 'help.text.name',
|
||||
defaultMessage: 'This name will be used by any certificates that you earn.',
|
||||
description: 'Help text for fullname field on registration page',
|
||||
},
|
||||
'help.text.username.1': {
|
||||
id: 'help.text.username.1',
|
||||
defaultMessage: 'The name that will identify you in your courses.',
|
||||
|
||||
Reference in New Issue
Block a user