1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-01-24 20:15:58 +00:00

Fix for flashes not clearing bug

This commit is contained in:
James Hillyerd
2017-01-21 19:31:39 -08:00
parent 63a76696bf
commit c346372c85
4 changed files with 40 additions and 33 deletions

View File

@@ -69,9 +69,9 @@
</nav>
<div class="container">
{{with .ctx.Session.Flashes "errors"}}
{{with .errorFlash}}
<div class="alert alert-danger">
<p>Please fix the following errors and resubmit:<p>
<p>Please fix the following errors and try again:<p>
<ul>
{{range .}}
<li>{{.}}</li>