1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00
ihatemoney_ynh/budget/templates/add_bill.html
Alexis Metaireau 4fcaf7d7ec 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)
2011-07-23 15:54:23 +02:00

20 lines
730 B
HTML

{% 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', project_id=project.id) }}" 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 %}