diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2020-07-22 11:12:29 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2020-07-22 11:12:29 +0200 |
commit | 58189dc1c26c41b2f7449e11087901bbb8a72bfe (patch) | |
tree | ed912eca6af65357b753bdb0c893d1c0d843e37b /accounts/templates | |
parent | fix dirty form detection (diff) | |
download | scout-subs-58189dc1c26c41b2f7449e11087901bbb8a72bfe.tar.gz scout-subs-58189dc1c26c41b2f7449e11087901bbb8a72bfe.zip |
compress images before saving to disk
Diffstat (limited to 'accounts/templates')
-rw-r--r-- | accounts/templates/accounts/index.html | 3 |
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 %} }); /*! |