From 3ef15d64c60d943b64d998449ed0eaa1dee0ac3e Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Wed, 1 Aug 2018 13:38:35 +0200 Subject: Fix display of flash messages. Pass full flash to template, and style according to flash name/type. --- templates/layout.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/layout.html') diff --git a/templates/layout.html b/templates/layout.html index 4eeac80..887a2b7 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -8,7 +8,7 @@ - {{#flash}}
{{ . }}
{{/flash}} + {{# flash }}
{{ .msg() }}
{{/ flash }} {{{ content }}} -- cgit v1.2.3