Update message flashing variables

This makes it easier to provide them with serde.
pull/1/head
Tristan Daniël Maat 2020-05-31 03:34:05 +01:00
parent 99fcdd47d8
commit b14d7d9351
Signed by: tlater
GPG Key ID: 49670FD774E43268
1 changed files with 2 additions and 2 deletions

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>