diff options
Diffstat (limited to 'budget/templates/forms.html')
| -rw-r--r-- | budget/templates/forms.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/budget/templates/forms.html b/budget/templates/forms.html index 08b8970..5c6a40e 100644 --- a/budget/templates/forms.html +++ b/budget/templates/forms.html @@ -72,10 +72,10 @@ {% endmacro %} -{% macro add_bill(form, edit=False) %} +{% macro add_bill(form, edit=False, title=True) %} <fieldset> - <legend>{% if edit %}{{ _("Edit this bill") }} {% else %}{{ _("Add a bill") }} {% endif %}</legend> + {% if title %}<legend>{% if edit %}{{ _("Edit this bill") }} {% else %}{{ _("Add a bill") }} {% endif %}</legend>{% endif %} {% include "display_errors.html" %} {{ form.hidden_tag() }} {{ input(form.date, class="datepicker") }} |
