Buckler/templates/login.html
2019-09-19 20:49:40 -04:00

20 lines
600 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Buckler - Login</title>
</head>
<body>
<h1>Buckler Login</h1>
<form action="{{ request.app.router['login'].url_for() }}" method="post" enctype="application/x-www-form-urlencoded">
<label for="username">Username</label>
<input id="username" name="username" type="text"><br>
<label for="password">Password</label>
<input id="password" name="password" type="password"><br>
{% if login_failed %}
<ul><li>Username and/or password incorrect</li></ul>
{% endif %}
<input type="submit" value="Login">
</form>
</body>
</html>