aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/list_bills.html
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2011-11-28 01:42:02 +0100
committerAlexis Metaireau <alexis@notmyidea.org>2011-11-28 01:42:02 +0100
commit3a2958a44ea6bc5cf452f2e75f9eb372ee0d513d (patch)
tree7607b5557d0005a6bda017fc2cc0df2cff39ccef /budget/templates/list_bills.html
parent46f98078065a2c75c69523e39f4bd77575cf7a1e (diff)
downloadihatemoney-mirror-3a2958a44ea6bc5cf452f2e75f9eb372ee0d513d.zip
ihatemoney-mirror-3a2958a44ea6bc5cf452f2e75f9eb372ee0d513d.tar.gz
ihatemoney-mirror-3a2958a44ea6bc5cf452f2e75f9eb372ee0d513d.tar.bz2
Add a 'sumbit and add a new one' button for new bills. Fix #53
Diffstat (limited to 'budget/templates/list_bills.html')
-rw-r--r--budget/templates/list_bills.html2
1 files changed, 2 insertions, 0 deletions
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();