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/edit_bill.html
Alexis Metaireau 28a3abf96d No need anymore to pass the project_id to the urls.
The project is now directly added to the context local g object, and injected on the fly into the urls that need it.

This commits also add ideas found while reading the flask documentation. The project can be enhanced in many ways, some ideas are stated there.
2011-08-19 23:44:54 +02:00

15 lines
399 B
HTML

{% extends "layout.html" %}
{% block top_menu %}
<a href="{{ url_for('list_bills') }}">Back to the list</a>
{% endblock %}
{% block content %}
<h2>Edit a bill</h2>
<div class="container span-24 add-bill uniForm" style="width: 400px">
<form action="{{ url_for('edit_bill', bill_id=bill_id) }}" method="post" class=uniForm">
{{ forms.add_bill(form) }}
</form>
</div>
{% endblock %}