Gagan0141 commited on
Commit
ccb2bad
·
verified ·
1 Parent(s): 89ebd0f

Update templates/login.html

Browse files
Files changed (1) hide show
  1. templates/login.html +7 -9
templates/login.html CHANGED
@@ -1,13 +1,11 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head><title>Login</title></head>
4
- <body>
5
  <h2>Login</h2>
6
- <form method="POST">
7
- Username: <input type="text" name="username"><br>
8
- Password: <input type="password" name="password"><br>
9
  <button type="submit">Login</button>
10
  </form>
11
  <p>Don't have an account? <a href="/signup">Signup</a></p>
12
- </body>
13
- </html>
 
1
+ {% extends "base.html" %}
2
+ {% block title %}Login{% endblock %}
3
+ {% block content %}
 
4
  <h2>Login</h2>
5
+ <form method="POST" class="form-box">
6
+ <input type="text" name="username" placeholder="Username" required><br>
7
+ <input type="password" name="password" placeholder="Password" required><br>
8
  <button type="submit">Login</button>
9
  </form>
10
  <p>Don't have an account? <a href="/signup">Signup</a></p>
11
+ {% endblock %}