summaryrefslogtreecommitdiffstats
path: root/lanre_py/templates/login.html
diff options
context:
space:
mode:
authorJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-24 14:51:12 +0100
committerJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-24 14:51:12 +0100
commit321f41e8fd67a30ad12bab1ed36296912fcb0c53 (patch)
tree4a307ad550cec4418ba86c3259dfd006c58c8fd9 /lanre_py/templates/login.html
downloadlanre-321f41e8fd67a30ad12bab1ed36296912fcb0c53.tar.gz
lanre-321f41e8fd67a30ad12bab1ed36296912fcb0c53.tar.bz2
lanre-321f41e8fd67a30ad12bab1ed36296912fcb0c53.zip
That's a web-app for reading with translations. Try it out.
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 %}