aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/templates/forms.html
diff options
context:
space:
mode:
Diffstat (limited to 'ihatemoney/templates/forms.html')
-rw-r--r--ihatemoney/templates/forms.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/ihatemoney/templates/forms.html b/ihatemoney/templates/forms.html
index 61127ce..95606e5 100644
--- a/ihatemoney/templates/forms.html
+++ b/ihatemoney/templates/forms.html
@@ -85,6 +85,15 @@
{% endmacro %}
+{% macro upload_json(form) %}
+ {% include "display_errors.html" %}
+ {{ form.hidden_tag() }}
+ {{ form.file }}
+ <div class="actions">
+ <button class="btn btn-primary">{{ _("Import") }}</button>
+ </div>
+{% endmacro %}
+
{% macro add_bill(form, edit=False, title=True) %}
<fieldset>