aboutsummaryrefslogtreecommitdiff
path: root/budget
diff options
context:
space:
mode:
authorFrédéric Sureau <fred@milka.(none)>2011-08-05 16:10:21 +0200
committerFrédéric Sureau <fred@milka.(none)>2011-08-05 16:10:21 +0200
commitf4da4d9a33a46d3e9d54192bbc1bb7c82404c4d1 (patch)
treecd3196794a077cea597e8889b860b6d8262ca856 /budget
parent769bcbf3f10f59a1bce952c336adeb1804a5cc77 (diff)
downloadihatemoney-mirror-f4da4d9a33a46d3e9d54192bbc1bb7c82404c4d1.zip
ihatemoney-mirror-f4da4d9a33a46d3e9d54192bbc1bb7c82404c4d1.tar.gz
ihatemoney-mirror-f4da4d9a33a46d3e9d54192bbc1bb7c82404c4d1.tar.bz2
Changing submit buttons display
Diffstat (limited to 'budget')
-rw-r--r--budget/templates/forms.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/budget/templates/forms.html b/budget/templates/forms.html
index 3c0e011..0fa642d 100644
--- a/budget/templates/forms.html
+++ b/budget/templates/forms.html
@@ -1,6 +1,8 @@
{% macro input(field, multiple=False) -%}
<div class="ctrlHolder">
- {{ field.label }}
+ {% if field.type != "SubmitField" %}
+ {{ field.label }}
+ {% endif %}
{% if multiple == True %}
{{ field(multiple=True) }}
{% else %}