refactor: bit more to the login form
This commit is contained in:
parent
c2c15b2f7a
commit
c58bf65830
|
@ -2,9 +2,24 @@ import {React} from '@flecks/react';
|
|||
|
||||
const UserLocalLogin = () => (
|
||||
<form action="/auth/local" method="post">
|
||||
<input name="email" />
|
||||
<input name="password" />
|
||||
<input type="submit" />
|
||||
<label>
|
||||
<span>Email address</span>
|
||||
<input name="email" type="text" />
|
||||
</label>
|
||||
<label>
|
||||
<span>Password</span>
|
||||
<input name="password" type="password" />
|
||||
</label>
|
||||
<div>
|
||||
<label>
|
||||
<input type="checkbox" />
|
||||
<span>Remember me</span>
|
||||
</label>
|
||||
<a href="/auth/forgot">Forgot password?</a>
|
||||
</div>
|
||||
<label>
|
||||
<input type="submit" value="Sign in" />
|
||||
</label>
|
||||
</form>
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user