From 3a2958a44ea6bc5cf452f2e75f9eb372ee0d513d Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Mon, 28 Nov 2011 01:42:02 +0100 Subject: Add a 'sumbit and add a new one' button for new bills. Fix #53 --- budget/templates/list_bills.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'budget/templates/list_bills.html') diff --git a/budget/templates/list_bills.html b/budget/templates/list_bills.html index 59692d5..b698da6 100644 --- a/budget/templates/list_bills.html +++ b/budget/templates/list_bills.html @@ -22,6 +22,8 @@ $('#bill-form').modal('hide'); }); + {% if add_bill %} $('#new-bill').click(); {% endif %} + // ask for confirmation before removing an user $('.action').each(function(){ $(this).hide(); -- cgit v1.1