anonkun/templates/signup.html

23 lines
805 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% block title %}Sign up a new account{% endblock %}
{% block content %}
<h1>Sign up</h1>
2018-06-16 16:42:31 -04:00
<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('views.signup') }}">
2018-06-16 16:42:31 -04:00
<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 />
2018-06-16 16:42:31 -04:00
<input type="submit" value="Sign up" name="submit"/>
</form>
{% endblock %}