Update message flashing variables
This makes it easier to provide them with serde.
This commit is contained in:
parent
99fcdd47d8
commit
b14d7d9351
|
@ -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">×</span>
|
||||
</button>
|
||||
|
|
Reference in a new issue