summaryrefslogtreecommitdiffstats
path: root/lanre_py/templates/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'lanre_py/templates/login.html')
-rw-r--r--lanre_py/templates/login.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/lanre_py/templates/login.html b/lanre_py/templates/login.html
new file mode 100644
index 0000000..ba80022
--- /dev/null
+++ b/lanre_py/templates/login.html
@@ -0,0 +1,14 @@
+{% extends "layout.html" %}
+{% block log %}
+ <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 type=submit value=Login>
+ </dl>
+ </form>
+{% endblock %}