From f4da4d9a33a46d3e9d54192bbc1bb7c82404c4d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Sureau?= Date: Fri, 5 Aug 2011 16:10:21 +0200 Subject: [PATCH] Changing submit buttons display --- budget/templates/forms.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/budget/templates/forms.html b/budget/templates/forms.html index 3c0e0116..0fa642d0 100644 --- a/budget/templates/forms.html +++ b/budget/templates/forms.html @@ -1,6 +1,8 @@ {% macro input(field, multiple=False) -%}
- {{ field.label }} + {% if field.type != "SubmitField" %} + {{ field.label }} + {% endif %} {% if multiple == True %} {{ field(multiple=True) }} {% else %}