Error display handling fixed for uploads

This commit is contained in:
Christoph Haas 2020-11-22 23:51:23 +01:00
parent 9e455f25eb
commit 169ad369e4
2 changed files with 28 additions and 26 deletions

View file

@ -8,10 +8,10 @@
- next
- when 'notice'
.callout.warning.alert-callout-subtle.radius data-closable=true
strong< = msg
strong< = safe_join(msg, "<br />".html_safe)
- when 'error'
.callout.alert.alert-callout-subtle.radius data-closable=true
strong< = msg
strong< = safe_join(msg, "<br />".html_safe)
- else
.callout.primary.alert-callout-subtle.radius data-closable=true
strong< = msg
strong< = safe_join(msg, "<br />".html_safe)