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/forms.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'budget/templates/forms.html') diff --git a/budget/templates/forms.html b/budget/templates/forms.html index 5c6a40e..10b6e0c 100644 --- a/budget/templates/forms.html +++ b/budget/templates/forms.html @@ -84,7 +84,10 @@ {{ input(form.amount) }} {{ input(form.payed_for) }} - {{ submit(form.submit, cancel=True) }} +
+ {{ form.submit(class="btn primary") }} + {% if not edit %} {{ form.submit2(class="btn") }}{% endif %} +
{% endmacro %} -- cgit v1.1