Name the inputs
This commit is contained in:
parent
7b813ed30d
commit
a133b24197
1 changed files with 7 additions and 4 deletions
|
@ -6,6 +6,9 @@ class AuthMenu extends Component {
|
|||
|
||||
this.state = {
|
||||
where_in_auth_menu: "requestUsername",
|
||||
username: "",
|
||||
password: "",
|
||||
email: ""
|
||||
}
|
||||
|
||||
this.handlePasswordForLogin = this.handlePasswordForLogin.bind(this)
|
||||
|
@ -47,7 +50,7 @@ class AuthMenu extends Component {
|
|||
return (
|
||||
<div className="ui menu dropdown" style={{display: "inline"}}>
|
||||
<div className="ui left icon input">
|
||||
<input type="text" placeholder="Username">
|
||||
<input type="text" placeholder="Username" name="username">
|
||||
</input>
|
||||
<i className="users icon"></i>
|
||||
</div>
|
||||
|
@ -62,7 +65,7 @@ class AuthMenu extends Component {
|
|||
return (
|
||||
<div className="ui menu dropdown" style={{display: "inline"}}>
|
||||
<div className="ui left icon input">
|
||||
<input type="text" placeholder="Password">
|
||||
<input type="text" placeholder="Password" name="password">
|
||||
</input>
|
||||
<i className="lock icon"></i>
|
||||
</div>
|
||||
|
@ -73,7 +76,7 @@ class AuthMenu extends Component {
|
|||
return (
|
||||
<div className="ui menu dropdown" style={{display: "inline"}}>
|
||||
<div className="ui left icon input">
|
||||
<input type="text" placeholder="email@address.tld">
|
||||
<input type="text" placeholder="email@address.tld" name="email">
|
||||
</input>
|
||||
<i className="mail icon"></i>
|
||||
</div>
|
||||
|
@ -84,7 +87,7 @@ class AuthMenu extends Component {
|
|||
return (
|
||||
<div className="ui menu dropdown" style={{display: "inline"}}>
|
||||
<div className="ui left icon input">
|
||||
<input type="text" placeholder="Password">
|
||||
<input type="text" placeholder="Password" name="password">
|
||||
</input>
|
||||
<i className="lock icon"></i>
|
||||
</div>
|
||||
|
|
Reference in a new issue