testing_2 / templates /login.html
Yaswanth56's picture
Update templates/login.html
068bcb8 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login - Restaurant</title>
<link rel="stylesheet" href="/static/styles.css">
</head>
<body>
<div class="login-container">
<h1>Welcome to the Restaurant</h1>
<p>Login to your account and explore our delicious menu!</p>
<!-- Show error message here if login fails -->
{% if error_message %}
<div class="error-message">{{ error_message }}</div>
{% endif %}
<form action="/auth" method="POST">
<div class="input-group">
<input type="email" name="email" placeholder="πŸ‘¨β€πŸ³ Email Address" required>
</div>
<div class="input-group">
<input type="password" name="password" placeholder="πŸ”‘ Password" required>
</div>
<button type="submit">Login 🍽️</button>
</form>
<a href="#" class="forgot-link">Forgot Password?</a>
<div class="register-link">
<p>Don't have an account? <a href="/register">Register Now</a></p>
</div>
</div>
</body>
</html>