Make wording of form fields in Register consistent with the login
The login form says username and password and should be consistently used throughout.
This commit is contained in:
parent
d5ab795e4c
commit
eb811e3f74
|
|
@ -49,7 +49,7 @@ export default class RegistrationDialog extends Component<IProps, IState> {
|
||||||
id="register-username"
|
id="register-username"
|
||||||
margin="dense"
|
margin="dense"
|
||||||
className="name"
|
className="name"
|
||||||
label="Name *"
|
label="Username *"
|
||||||
name="username"
|
name="username"
|
||||||
value={name}
|
value={name}
|
||||||
onChange={this.handleChange.bind(this, 'name')}
|
onChange={this.handleChange.bind(this, 'name')}
|
||||||
|
|
@ -62,7 +62,7 @@ export default class RegistrationDialog extends Component<IProps, IState> {
|
||||||
type="password"
|
type="password"
|
||||||
value={pass}
|
value={pass}
|
||||||
fullWidth
|
fullWidth
|
||||||
label="Pass *"
|
label="Password *"
|
||||||
name="password"
|
name="password"
|
||||||
onChange={this.handleChange.bind(this, 'pass')}
|
onChange={this.handleChange.bind(this, 'pass')}
|
||||||
/>
|
/>
|
||||||
|
|
@ -76,7 +76,7 @@ export default class RegistrationDialog extends Component<IProps, IState> {
|
||||||
? passPresent
|
? passPresent
|
||||||
? ''
|
? ''
|
||||||
: 'password is required'
|
: 'password is required'
|
||||||
: 'name is required'
|
: 'username is required'
|
||||||
}>
|
}>
|
||||||
<div>
|
<div>
|
||||||
<Button
|
<Button
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue