Add back in flash messages

This commit is contained in:
Tristan Daniël Maat 2022-08-01 16:35:28 +01:00
parent 3ba6f08986
commit 49f7360df1
Signed by: tlater
GPG key ID: 49670FD774E43268
5 changed files with 45 additions and 11 deletions
src/lib/html

View file

@ -1,11 +1,6 @@
{{#if flash}}
<div
class="alert alert-{{flash.type}} alert-dismissible fade show"
role="alert"
>
{{ flash.message }}
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<div class="notification is-{{flash.type}}">
<button class="delete" aria-label="Close"></button>
<span role="alert"> {{ flash.message }} </span>
</div>
{{/if}}