23 lines
800 B
HTML
23 lines
800 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Sign up a new account{% endblock %}
|
|
{% block content %}
|
|
<h1>Sign up</h1>
|
|
<div id="namePassRules">
|
|
<p>Username rules:
|
|
<ul>
|
|
<li>Must be between 3 and 20 characters</li>
|
|
<li>Can only contain ASCII letters (case sensitive) and numbers</li>
|
|
</ul>
|
|
<p>Password rules:
|
|
<ul>
|
|
<li>Must be between 8 and 1024 characters</li>
|
|
</ul>
|
|
</div>
|
|
<form method="post" action="{{ url_for('.signup') }}">
|
|
<input type="text" placeholder="Username" name="user" maxlength="20" required/><br />
|
|
<input type="password" placeholder="Password" name="pass" maxlength="1024" required/><br />
|
|
<input type="password" placeholder="Verify password" name="pass_verify" maxlength="1024" required/><br />
|
|
<input type="submit" value="Sign up" name="submit"/>
|
|
</form>
|
|
{% endblock %}
|