aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/forms.html
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2011-11-28 00:22:10 +0100
committerAlexis Metaireau <alexis@notmyidea.org>2011-11-28 00:22:10 +0100
commitf75bf39307e81e833e2ef0182bed6727192c20c8 (patch)
tree47ba6ad83b9a576f4f8a0ec4b947514503ff0d80 /budget/templates/forms.html
parent8570e79170e28ad0437a6b663066e7d54b0c682d (diff)
downloadihatemoney-mirror-f75bf39307e81e833e2ef0182bed6727192c20c8.zip
ihatemoney-mirror-f75bf39307e81e833e2ef0182bed6727192c20c8.tar.gz
ihatemoney-mirror-f75bf39307e81e833e2ef0182bed6727192c20c8.tar.bz2
Transform the bill addition form, using a popup. See #53
Diffstat (limited to 'budget/templates/forms.html')
-rw-r--r--budget/templates/forms.html4
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") }}