From f75bf39307e81e833e2ef0182bed6727192c20c8 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Mon, 28 Nov 2011 00:22:10 +0100 Subject: Transform the bill addition form, using a popup. See #53 --- budget/templates/forms.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'budget/templates/forms.html') diff --git a/budget/templates/forms.html b/budget/templates/forms.html index 08b8970..5c6a40e 100644 --- a/budget/templates/forms.html +++ b/budget/templates/forms.html @@ -72,10 +72,10 @@ {% endmacro %} -{% macro add_bill(form, edit=False) %} +{% macro add_bill(form, edit=False, title=True) %}
- {% if edit %}{{ _("Edit this bill") }} {% else %}{{ _("Add a bill") }} {% endif %} + {% if title %}{% if edit %}{{ _("Edit this bill") }} {% else %}{{ _("Add a bill") }} {% endif %}{% endif %} {% include "display_errors.html" %} {{ form.hidden_tag() }} {{ input(form.date, class="datepicker") }} -- cgit v1.1