From 58189dc1c26c41b2f7449e11087901bbb8a72bfe Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Wed, 22 Jul 2020 11:12:29 +0200 Subject: compress images before saving to disk --- accounts/templates/accounts/index.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'accounts/templates') diff --git a/accounts/templates/accounts/index.html b/accounts/templates/accounts/index.html index 48d5bc8..9a8a79c 100644 --- a/accounts/templates/accounts/index.html +++ b/accounts/templates/accounts/index.html @@ -374,6 +374,9 @@ $(document).ready(function() { $('.datepicker').datepicker(options); $('.tabs').tabs(); $('select').formSelect(); + {% if error %} + M.toast({html: '{{ error_text}}', classes: 'orange'}) + {% endif %} }); /*! -- cgit v1.2.1