1
0
Fork 0

Name the inputs

This commit is contained in:
Amarpreet Minhas 2019-08-27 21:49:25 -04:00
parent 7b813ed30d
commit a133b24197

View file

@ -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>