aboutsummaryrefslogtreecommitdiff
path: root/src/templates/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/login.html')
-rw-r--r--src/templates/login.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/templates/login.html b/src/templates/login.html
index ec41762..f090108 100644
--- a/src/templates/login.html
+++ b/src/templates/login.html
@@ -38,10 +38,10 @@
<body>
<div>
<h1>Login</h1>
- <div class="form">
- <input on type="text" placeholder="Enter Username" name="username" id="username" required>
- <input type="password" placeholder="Enter Password" name="password" id="password" required>
- <button onclick="sendPost()">Log in</button>
+ <form method="post" action="/login">
+ <input name="username" type="text" placeholder="Enter Username" required>
+ <input type="password" placeholder="Enter Password" name="password" required>
+ <input type="submit" vallue="Log in">
</div>
</div>
</body>