flask-py / templates /login.html
Gagan0141's picture
Upload 7 files
090b756 verified
raw
history blame contribute delete
598 Bytes
<!DOCTYPE html>
<html>
<head>
<title>Login</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<h1>๐Ÿ”‘ Login</h1>
{% if error %}<p class="error">{{ error }}</p>{% endif %}
<form method="POST">
<input type="text" name="username" placeholder="Username" required><br><br>
<input type="password" name="password" placeholder="Password" required><br><br>
<button type="submit" class="btn">Login</button>
</form>
<p>Don't have an account? <a href="{{ url_for('signup') }}">Signup</a></p>
</body>
</html>