mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
24 lines
849 B
HTML
24 lines
849 B
HTML
{% extends "layout.html" %}
|
|
|
|
{% block top_menu %}
|
|
<a href="{{ url_for('list_bills', project_id=project.id) }}">Back to the list</a>
|
|
{% endblock %}
|
|
|
|
{% 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 %}
|