should work

This commit is contained in:
q
2016-07-03 23:47:54 +03:00
commit ca7ce92a04
11 changed files with 930 additions and 0 deletions

14
templates/register.html Normal file
View File

@@ -0,0 +1,14 @@
{% extends "layout.html" %}
{% block body %}
<h2>Register</h2>
{% if error %}<p class=error><strong>Error:</strong> {{ error }}{% endif %}
<form action="{{ url_for('register') }}" method=post>
<dl>
<dt>Username:
<dd><input type=text name=username>
<dt>Password:
<dd><input type=password name=password>
<dd><input type=submit value=Login>
</dl>
</form>
{% endblock %}