Buckler/templates/register.html

52 lines
1.6 KiB
HTML
Raw Normal View History

2019-09-15 19:40:58 -04:00
<!DOCTYPE html>
<html lang="en">
<head>
<title>Buckler - Register</title>
2019-09-25 15:12:58 -04:00
<link rel="stylesheet" type="text/css" href="/static/buckler.css">
<meta name="viewport" content="width=device-width, initial-scale=0.8">
<meta name="description" content="A small shield for web applications.">
2019-09-15 19:40:58 -04:00
</head>
<body>
2019-09-25 15:12:58 -04:00
<header>
<object id="logo" title="Buckler logo" data="/static/buckler_icon.svg"></object>
<h1>Buckler Register</h1>
</header>
<main>
<section>
<form method="POST" enctype="application/x-www-form-urlencoded">
<label for="username">Username</label>
<input id="username" name="username" type="text" minlength="3" maxlength="20"><br>
{% if errors['username'] %}
<ul>
{% for error in errors['username'] %}
<li class="error">{{ error }}</li>
{% endfor %}
</ul>
{% endif %}
<label for="email">Email</label>
<input id="email" name="email" type="email"><br>
{% if errors['email'] %}
<ul>
{% for error in errors['email'] %}
<li class="error">{{ error }}</li>
{% endfor %}
</ul>
{% endif %}
<label for="password">Password</label>
<input id="password" name="password" type="password" minlength="8" maxlength="10240"><br>
<label for="password_verify">Verify Password</label>
<input id="password_verify" name="password_verify" type="password" minlength="8" maxlength="10240"><br>
{% if errors['password'] %}
<ul>
{% for error in errors['password'] %}
<li class="error">{{ error }}</li>
{% endfor %}
</ul>
{% endif %}
<input type="submit" value="Register">
</form>
</section>
</main>
2019-09-15 19:40:58 -04:00
</body>
</html>