aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/add_bill.html
diff options
context:
space:
mode:
Diffstat (limited to 'budget/templates/add_bill.html')
-rw-r--r--budget/templates/add_bill.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/budget/templates/add_bill.html b/budget/templates/add_bill.html
index ec60f43..0b575d7 100644
--- a/budget/templates/add_bill.html
+++ b/budget/templates/add_bill.html
@@ -5,9 +5,8 @@
{% endblock %}
{% block content %}
-<h2>{% if edit %}Edit a{% else %}Add a new{% endif %} bill</h2>
<form method="post">
- {{ forms.add_bill(form) }}
+ {{ forms.add_bill(form, edit) }}
</form>
{% endblock %}