2019-09-14 18:36:23 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>Buckler - Login</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
2019-09-20 19:24:12 -04:00
|
|
|
<header>
|
|
|
|
<h1>Buckler Login</h1>
|
|
|
|
</header>
|
|
|
|
<main>
|
|
|
|
<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>
|
|
|
|
</main>
|
2019-09-14 18:36:23 -04:00
|
|
|
</body>
|
|
|
|
</html>
|