Nest auth_login fieldset, fixes #17

This commit is contained in:
Alex Gleason 2020-04-15 18:32:12 -05:00
parent 1ac1de1d02
commit d4f41df8c1
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 11 additions and 9 deletions

View File

@ -38,7 +38,8 @@ class LoginForm extends ImmutablePureComponent {
render() {
return (
<form className='simple_form new_user' onSubmit={this.handleSubmit}>
<fieldset className='fields-group' disabled={this.state.isLoading}>
<fieldset disabled={this.state.isLoading}>
<div className='fields-group'>
<div className='input email optional user_email'>
<input aria-label='Username' className='string email optional' placeholder='Username' type='text' name='username' />
</div>
@ -48,6 +49,7 @@ class LoginForm extends ImmutablePureComponent {
<p className='hint subtle-hint'>
<Link to='/auth/password/new'>Trouble logging in?</Link>
</p>
</div>
</fieldset>
<div className='actions'>
<button name='button' type='submit' className='btn button button-primary'>Log in</button>