Spaces:
Running
Running
Update templates/login.html
Browse files- templates/login.html +7 -9
templates/login.html
CHANGED
|
@@ -1,13 +1,11 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
<body>
|
| 5 |
<h2>Login</h2>
|
| 6 |
-
<form method="POST">
|
| 7 |
-
|
| 8 |
-
|
| 9 |
<button type="submit">Login</button>
|
| 10 |
</form>
|
| 11 |
<p>Don't have an account? <a href="/signup">Signup</a></p>
|
| 12 |
-
|
| 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 %}
|
|
|