16 lines
508 B
HTML
16 lines
508 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<body>
|
|
{% if login_failed %}
|
|
<p> Incorrect username or password! </p>
|
|
{% endif %}
|
|
<form action="/accounts/login/" method="POST">
|
|
{% csrf_token %}
|
|
<label for="username">Username:</label><br>
|
|
<input type="text" id="username" name="username"><br><br>
|
|
<label for="password">Password:</label><br>
|
|
<input type="password" id="password" name="password"><br><br>
|
|
<input type="submit" value="Log in">
|
|
</form>
|
|
</body>
|
|
</html>
|