diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-03-10 17:32:53 +0000 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-03-10 17:32:53 +0000 |
| commit | de708ce3efec2ab70b6b77781957766ae47f9068 (patch) | |
| tree | 6b2b3b43caea782d894ce9874e9b6632f14ef7ff /budget/templates/add_bill.html | |
| parent | fc569241bea388de32b38aa907bf2e527cd5039b (diff) | |
| download | ihatemoney-mirror-de708ce3efec2ab70b6b77781957766ae47f9068.zip ihatemoney-mirror-de708ce3efec2ab70b6b77781957766ae47f9068.tar.gz ihatemoney-mirror-de708ce3efec2ab70b6b77781957766ae47f9068.tar.bz2 | |
reshape the folder structure. Add conf files
Diffstat (limited to 'budget/templates/add_bill.html')
| -rw-r--r-- | budget/templates/add_bill.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/budget/templates/add_bill.html b/budget/templates/add_bill.html new file mode 100644 index 0000000..37ecfa3 --- /dev/null +++ b/budget/templates/add_bill.html @@ -0,0 +1,20 @@ +{% extends "layout.html" %} + +{% block content %} +<h2>Let's add a bill</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 action="{{ url_for('add_bill') }}" method=post class="container span-24 add-bill"> + {{ form.hidden_tag() }} + + <p>{{ form.payer.label }}<br /> {{ form.payer }}</p> + <p>{{ form.what.label }}<br /> {{ form.what }}</p> + <p>{{ form.amount.label }}<br />{{ form.amount }}</p> + <p>{{ form.payed_for.label }}<br /> {{ form.payed_for(multiple=True) }}</p> + <p>{{ form.submit }}</p> + </form> +{% endblock %} |
