aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/templates
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2020-07-22 11:12:29 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2020-07-22 11:12:29 +0200
commit58189dc1c26c41b2f7449e11087901bbb8a72bfe (patch)
treeed912eca6af65357b753bdb0c893d1c0d843e37b /accounts/templates
parentfix dirty form detection (diff)
downloadscout-subs-58189dc1c26c41b2f7449e11087901bbb8a72bfe.tar.gz
scout-subs-58189dc1c26c41b2f7449e11087901bbb8a72bfe.zip
compress images before saving to disk
Diffstat (limited to '')
-rw-r--r--accounts/templates/accounts/index.html3
1 files changed, 3 insertions, 0 deletions
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 %}
});
/*!