aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/js/change_password.jsx
diff options
context:
space:
mode:
authorjloup <jloup@jloup.work>2018-05-14 12:38:00 +0200
committerjloup <jloup@jloup.work>2018-05-14 12:38:00 +0200
commita6820180928670b0642fa6a28ac221ce158230bb (patch)
treebe56c7282892ecd3d436d773fb21b6dc1230cc3c /cmd/web/js/change_password.jsx
parent2e4885d98ec49203180deb7e4e9148762e4720e7 (diff)
downloadFront-a6820180928670b0642fa6a28ac221ce158230bb.tar.gz
Front-a6820180928670b0642fa6a28ac221ce158230bb.tar.zst
Front-a6820180928670b0642fa6a28ac221ce158230bb.zip
JS clean.v0.0.15
Diffstat (limited to 'cmd/web/js/change_password.jsx')
-rw-r--r--cmd/web/js/change_password.jsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/web/js/change_password.jsx b/cmd/web/js/change_password.jsx
index 74cde0f..dfa5701 100644
--- a/cmd/web/js/change_password.jsx
+++ b/cmd/web/js/change_password.jsx
@@ -47,9 +47,10 @@ class ChangePasswordForm extends React.Component {
47 var cName = classNames('form-message', {'hidden': this.state.hideMsg, 'message-ok': this.state.msgOk}); 47 var cName = classNames('form-message', {'hidden': this.state.hideMsg, 'message-ok': this.state.msgOk});
48 return ( 48 return (
49 <div className="row sign-in"> 49 <div className="row sign-in">
50 <div className="offset-1 col-10 offset-md-4 col-md-4 text-center"> 50 <div className="offset-1 col-10 box offset-md-4 col-md-4 text-center">
51 <form role="form" onSubmit={this.handleSubmit}> 51 <form role="form" onSubmit={this.handleSubmit}>
52 <input className="form-control" type="password" placeholder="password" onChange={this.handlePasswordChange} /> 52 <label className="w-100 text-left"><strong>New password</strong></label>
53 <input className="form-control" type="password" onChange={this.handlePasswordChange} />
53 <input className="form-control submit" type="submit" value="Change password" /> 54 <input className="form-control submit" type="submit" value="Change password" />
54 <div className={cName}>{this.state.msg}</div> 55 <div className={cName}>{this.state.msg}</div>
55 </form> 56 </form>