Update message flashing variables

This makes it easier to provide them with serde.
This commit is contained in:
Tristan Daniël Maat 2020-05-31 03:34:05 +01:00
parent 99fcdd47d8
commit b14d7d9351
Signed by: tlater
GPG key ID: 49670FD774E43268

View file

@ -1,6 +1,6 @@
{{#if flash}}
<div class="alert alert-{{ flash-type }} alert-dismissible fade show" role="alert">
{{ 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>