aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/authenticate.html
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2011-07-23 15:54:23 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2011-07-23 15:54:23 +0200
commit4fcaf7d7ec583b794c14597d50abc89ef96450c9 (patch)
tree16fcff5d5f304a92ff80c92bbbfac5ca9c61b66c /budget/templates/authenticate.html
parent54de7abf23f61df916fe65f590d0d45ec8e2d174 (diff)
downloadihatemoney-mirror-4fcaf7d7ec583b794c14597d50abc89ef96450c9.zip
ihatemoney-mirror-4fcaf7d7ec583b794c14597d50abc89ef96450c9.tar.gz
ihatemoney-mirror-4fcaf7d7ec583b794c14597d50abc89ef96450c9.tar.bz2
Kick-start multiple projects support.
This commit adds: * support for projects (creation not yet finished) * an authentication mechanism * bugs (basically all the features are not working anymore)
Diffstat (limited to 'budget/templates/authenticate.html')
-rw-r--r--budget/templates/authenticate.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/budget/templates/authenticate.html b/budget/templates/authenticate.html
new file mode 100644
index 0000000..c745e9f
--- /dev/null
+++ b/budget/templates/authenticate.html
@@ -0,0 +1,14 @@
+{% extends "layout.html" %}
+{% block content %}
+<h2>Login to "{{ project.name }}"</h2>
+
+{% for errors in form.errors.values() %}
+<p class=error>{{ ", ".join(errors) }}</p>
+{% endfor %}
+
+<form action="" method="POST" accept-charset="utf-8">
+ {{ form.hidden_tag() }}
+ Password: <input type="password" name="password" value="">
+ <p>{{ form.submit }}</p>
+</form>
+{% endblock %}