aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/create_project.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/create_project.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/create_project.html')
-rw-r--r--budget/templates/create_project.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/budget/templates/create_project.html b/budget/templates/create_project.html
new file mode 100644
index 0000000..524a592
--- /dev/null
+++ b/budget/templates/create_project.html
@@ -0,0 +1,21 @@
+{% extends "layout.html" %}
+
+{% block content %}
+<h2>Create a new project</h2>
+
+{% if form.errors %}
+ <p class=error><strong>Your form contains errors.</strong></p>
+ <ul>{% for error in form.errors %}<li>{{ error }}</li>{% endfor %}</ul>
+{% endif %}
+
+ <form method="POST" class="container span-24 add-bill">
+ {{ form.hidden_tag() }}
+
+ <p>{{ form.name.label }}<br /> {{ form.name }}</p>
+ <p>{{ form.id.label }}<br /> {{ form.id }}</p>
+ <p>{{ form.password.label }}<br /> {{ form.password }}</p>
+ <p>{{ form.contact_email.label }}<br /> {{ form.contact_email }}</p>
+ <p>{{ form.submit }}</p>
+ </form>
+{% endblock %}
+