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

15
templates/login.html Normal file
View File

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