Buckler/templates/login.html

20 lines
600 B
HTML
Raw Normal View History

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