mirror of
https://github.com/gosticks/web.git
synced 2026-12-03 17:51:39 +00:00
Move login button inline with password box
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
+4
-6
@@ -135,15 +135,13 @@ class Login extends Component {
|
||||
|
||||
<div className="card-body">
|
||||
<form id="loginform">
|
||||
<div className={'form-group' + (this.state.error ? ' has-error' : '')}>
|
||||
<div className={'input-group' + (this.state.error ? ' has-error' : '')}>
|
||||
<input type="password" className="form-control"
|
||||
value={this.state.password} onChange={this.handlePasswordChange}
|
||||
placeholder={t("Password")} autoFocus/>
|
||||
</div>
|
||||
<div className="row">
|
||||
<div className="col-12">
|
||||
<button type="submit" className="btn btn-primary float-right" style={{'cursor': 'pointer'}}
|
||||
onClick={this.authenticate}>
|
||||
<div className="input-group-append">
|
||||
<button type="submit" className="btn btn-primary float-right"
|
||||
style={{'cursor': 'pointer'}} onClick={this.authenticate}>
|
||||
{t("Log in")}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user