refactor: bit more to the login form

This commit is contained in:
cha0s 2022-03-19 15:26:07 -05:00
parent c2c15b2f7a
commit c58bf65830

View File

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