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/bill_form.html
Alexis Metaireau 37be0f4fa1 Theming.
Uses uni-form to style forms and add a macro to ease this.
Of course, the overall thing has to be reworked, but having this in place will
help us to have something easier to change when we will really care about design.

All the form templates can now be defined in templates/forms.html and be called
thansk to {{ forms.name_of_the_form(form) }}.

I've done some styling, but that's really not my thing, feel free to modify it.
2011-07-31 16:33:29 +02:00

11 lines
383 B
HTML

{% import "forms.html" as forms %}
<div class="uniForm">
<form action="{{ url_for('add_bill', project_id=project.id) }}" method="post" class=uniForm">
{{ form.hidden_tag() }}
{{ forms.input(form.what) }}
{{ forms.input(form.payer) }}
{{ forms.input(form.amount) }}
{{ forms.input(form.payed_for, multiple=True) }}
<p>{{ form.submit }}</p>
</form>
</div>