mirror of
https://github.com/jhillyerd/inbucket.git
synced 2026-01-04 10:27:05 +00:00
Fix for flashes not clearing bug
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -64,16 +64,6 @@ $(document).ready(function() {
|
||||
</div>
|
||||
</div>
|
||||
<div id="message-container" class="col-md-9">
|
||||
{{with .ctx.Session.Flashes "errors"}}
|
||||
<div class="errors">
|
||||
<p>Please fix the following errors and resubmit:<p>
|
||||
<ul>
|
||||
{{range .}}
|
||||
<li>{{.}}</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
</div>
|
||||
{{end}}
|
||||
<div id="message-content">
|
||||
<p>Select a message at left, or enter a different username into the box on upper right.</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user