summaryrefslogtreecommitdiffstats
path: root/frontend/src/Register.js
diff options
context:
space:
mode:
authorJan Tuomi <jan.tuomi@eficode.com>2020-02-05 19:25:36 +0200
committerJan Tuomi <jan.tuomi@eficode.com>2020-02-05 19:25:36 +0200
commit71d9490d0988c97b8b023a70e0b61c65f32ad3b9 (patch)
treedf6f3db2c1f3c3ef9339843431a79197b465a74c /frontend/src/Register.js
parent48a60c896d86de9bf76806ca60da35ef9f77259e (diff)
Implement permissions
Diffstat (limited to 'frontend/src/Register.js')
-rw-r--r--frontend/src/Register.js18
1 files changed, 10 insertions, 8 deletions
diff --git a/frontend/src/Register.js b/frontend/src/Register.js
index f4a6ec3..6ba1537 100644
--- a/frontend/src/Register.js
+++ b/frontend/src/Register.js
@@ -32,17 +32,19 @@ const Register = () => {
return (
<form onSubmit={handleSubmit(onSubmit)}>
- <h1>Register new account</h1>
- <label>
- Username <input name="username" type="text" ref={register} required />
+ <h1 className="title">Register new account</h1>
+ <label className="label">
+ Username <input className="input" name="username" type="text" ref={register} required />
</label>
- <label>
- Password <input name="password" type="password" ref={register} required />
+ <label className="label">
+ Password <input className="input" name="password" type="password" ref={register} required />
</label>
- <label>
- Confirm password <input name="confirm_password" type="password" ref={register} required />
+ <label className="label">
+ Confirm password <input className="input" name="confirm_password" type="password" ref={register} required />
</label>
- <button type="submit">Register</button>
+ <button className="button" type="submit">
+ Register
+ </button>
<div className="error">{loginError}</div>
{/* <div className="error">{errors}</div> */}
</form>