Spaces:
Sleeping
Sleeping
Update templates/login.html
Browse files- templates/login.html +4 -0
templates/login.html
CHANGED
|
@@ -11,6 +11,10 @@
|
|
| 11 |
<div class="login-container">
|
| 12 |
<h1>Welcome Back</h1>
|
| 13 |
<p>Login to your Account</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
<form action="/auth" method="POST">
|
| 15 |
<div class="input-group">
|
| 16 |
<input type="email" name="email" placeholder="User Name / Email" required>
|
|
|
|
| 11 |
<div class="login-container">
|
| 12 |
<h1>Welcome Back</h1>
|
| 13 |
<p>Login to your Account</p>
|
| 14 |
+
<!-- Display error message if any -->
|
| 15 |
+
{% if error %}
|
| 16 |
+
<p style="color: red; font-weight: bold;">{{ error }}</p>
|
| 17 |
+
{% endif %}
|
| 18 |
<form action="/auth" method="POST">
|
| 19 |
<div class="input-group">
|
| 20 |
<input type="email" name="email" placeholder="User Name / Email" required>
|