diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-11-28 01:42:02 +0100 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-11-28 01:42:02 +0100 |
| commit | 3a2958a44ea6bc5cf452f2e75f9eb372ee0d513d (patch) | |
| tree | 7607b5557d0005a6bda017fc2cc0df2cff39ccef /budget/templates/forms.html | |
| parent | 46f98078065a2c75c69523e39f4bd77575cf7a1e (diff) | |
| download | ihatemoney-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/forms.html')
| -rw-r--r-- | budget/templates/forms.html | 5 |
1 files changed, 4 insertions, 1 deletions
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) }} </fieldset> - {{ submit(form.submit, cancel=True) }} + <div class="actions"> + {{ form.submit(class="btn primary") }} + {% if not edit %} {{ form.submit2(class="btn") }}{% endif %} + </div> {% endmacro %} |
