feat(templates): login page and form
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
class="w-full h-screen fixed top-0 left-0 flex justify-center items-center"
|
||||
>
|
||||
<form
|
||||
action="/login"
|
||||
method="POST"
|
||||
action="/login/"
|
||||
method="post"
|
||||
enctype="multipart/form-data"
|
||||
class="h-fit bg-slate-500 grid grid-cols-1 grid-rows-3 p-5 gap-3"
|
||||
id="login-form"
|
||||
@@ -13,7 +13,7 @@
|
||||
<h1>Login</h1>
|
||||
<input
|
||||
type="text"
|
||||
name="user"
|
||||
name="username"
|
||||
required
|
||||
class="bg-slate-200 p-1"
|
||||
placeholder="Username"
|
||||
@@ -25,6 +25,7 @@
|
||||
class="bg-slate-200 p-1"
|
||||
placeholder="Password"
|
||||
/>
|
||||
<button type="submit">Login</button>
|
||||
</form>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user