52 lines
1.6 KiB
HTML
52 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Buckler - Register</title>
|
|
<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.">
|
|
</head>
|
|
<body>
|
|
<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>
|
|
</body>
|
|
</html>
|