mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
28a3abf96d
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.
15 lines
399 B
HTML
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 %}
|