To gitea and beyond, let's go(-yco)
This commit is contained in:
15
internal/templates/error.gohtml
Normal file
15
internal/templates/error.gohtml
Normal file
@@ -0,0 +1,15 @@
|
||||
{{define "content"}}
|
||||
<section class="form-card">
|
||||
<h1>{{if .Title}}{{.Title}}{{else}}Something went wrong{{end}}</h1>
|
||||
{{if .Errors}}
|
||||
<ul class="error-list">
|
||||
{{range .Errors}}
|
||||
<li>{{.}}</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
{{else}}
|
||||
<p>We couldn't handle that request this time.</p>
|
||||
{{end}}
|
||||
<p><a href="/">Back to home</a></p>
|
||||
</section>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user