diff options
Diffstat (limited to 'templates/layout.html')
-rw-r--r-- | templates/layout.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <header class="page-header"> <h1>{{ title }}</h1> </header> - {{#flash}}<div class="flash">{{ . }}</div>{{/flash}} + {{# flash }}<div class="flash {{ .name() }}">{{ .msg() }}</div>{{/ flash }} {{{ content }}} </body> </html> |