Update templates/login.html
Browse files- templates/login.html +12 -7
templates/login.html
CHANGED
@@ -1,16 +1,21 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
-
<html
|
3 |
<head>
|
4 |
-
<meta charset="UTF-8">
|
5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<title>Login</title>
|
7 |
</head>
|
8 |
<body>
|
9 |
<h1>Login</h1>
|
|
|
|
|
|
|
10 |
<form method="post" action="/login">
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
|
|
15 |
</body>
|
16 |
</html>
|
|
|
1 |
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
<head>
|
|
|
|
|
4 |
<title>Login</title>
|
5 |
</head>
|
6 |
<body>
|
7 |
<h1>Login</h1>
|
8 |
+
{% if error_message %}
|
9 |
+
<p style="color: red;">{{ error_message }}</p>
|
10 |
+
{% endif %}
|
11 |
<form method="post" action="/login">
|
12 |
+
<label for="email">Email:</label>
|
13 |
+
<input type="text" id="email" name="email" required><br><br>
|
14 |
+
|
15 |
+
<label for="password">Password:</label>
|
16 |
+
<input type="password" id="password" name="password" required><br><br>
|
17 |
+
|
18 |
+
<button type="submit">Login</button>
|
19 |
+
</form>
|
20 |
</body>
|
21 |
</html>
|