From 801802836a648ac0865c1c932e3cf9a01e3a639e Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Fri, 9 Sep 2011 19:14:19 +0200 Subject: Start working on archive management --- budget/templates/forms.html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'budget/templates/forms.html') diff --git a/budget/templates/forms.html b/budget/templates/forms.html index 8ac458f..7b512ff 100644 --- a/budget/templates/forms.html +++ b/budget/templates/forms.html @@ -52,10 +52,10 @@ {% endmacro %} -{% macro add_bill(form) %} +{% macro add_bill(form, edit=False) %}
- Add a bill + {% if edit %}Edit this {% else %}Add a {% endif %}bill {% include "display_errors.html" %} {{ form.hidden_tag() }} {{ input(form.date) }} @@ -83,3 +83,15 @@ No, thanks {% endmacro %} + +{% macro create_archive(form) %} +
+ Create an archive + {{ form.hidden_tag() }} + {{ input(form.start_date) }} + {{ input(form.end_date) }} +
+
+ +
+{% endmacro %} -- cgit v1.1