Got cool stuff working
This commit is contained in:
12
templates/errors.gohtml
Normal file
12
templates/errors.gohtml
Normal file
@@ -0,0 +1,12 @@
|
||||
{{- /*gotype: main.ErrorVM*/}}
|
||||
{{define "errors"}}
|
||||
{{template "header" .StatusCode | statusText}}
|
||||
|
||||
<ul>
|
||||
{{range .Errors}}
|
||||
<li>{{.}}</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
|
||||
{{template "footer"}}
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user