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