aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/forms.html
diff options
context:
space:
mode:
author0livd <0livd@users.noreply.github.com>2017-02-22 23:40:52 +0100
committer0livd <0livd@users.noreply.github.com>2017-03-09 23:24:18 +0100
commite35480d6b7adf76f5bc4d46153b621abd722c681 (patch)
treeb80cbf5ae0ddee631cb0c0aa31940f71d94d5855 /budget/templates/forms.html
parent8c412b391f9402f3840728ad1e6b8043e4ed8b7b (diff)
downloadihatemoney-mirror-e35480d6b7adf76f5bc4d46153b621abd722c681.zip
ihatemoney-mirror-e35480d6b7adf76f5bc4d46153b621abd722c681.tar.gz
ihatemoney-mirror-e35480d6b7adf76f5bc4d46153b621abd722c681.tar.bz2
Add export feature
Bills and transactions can now be exported to json or csv ref #28
Diffstat (limited to 'budget/templates/forms.html')
-rw-r--r--budget/templates/forms.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/budget/templates/forms.html b/budget/templates/forms.html
index 3f8cc4a..b4fa236 100644
--- a/budget/templates/forms.html
+++ b/budget/templates/forms.html
@@ -150,6 +150,17 @@
</div>
{% endmacro %}
+{% macro export_project(form) %}
+ <fieldset>
+ {{ form.hidden_tag() }}
+ {{ input(form.export_type) }}
+ {{ input(form.export_format) }}
+ </fieldset>
+ <div class="actions">
+ <button class="btn btn-primary">{{ _("Download") }}</button>
+ </div>
+{% endmacro %}
+
{% macro remind_password(form) %}
{% include "display_errors.html" %}