mirror of
https://github.com/jhillyerd/inbucket.git
synced 2026-06-18 11:13:39 +00:00
da8e0bc508
Changes: - Added a friendlyTime helper for nicer timestamps - Added validation to most action methods - Added error flash to several template files - Now making use to c.RenderError() to handle action errors - Removed message list slideUp() effect, takes too long - Fixed a problem with my vim indentation configuration, so CSS and HTML should be indented more consistently.
11 lines
180 B
HTML
11 lines
180 B
HTML
{{if .errors}}
|
|
<div class="errors">
|
|
<p>Please fix the following errors and resubmit:<p>
|
|
<ul>
|
|
{{range .errors}}
|
|
<li>{{.Message}}</li>
|
|
{{end}}
|
|
</ul>
|
|
</div>
|
|
{{end}}
|