oidc-demo-app/ui/templates/errors.gohtml
Jan Dittberner 0a4cc75bd3 HTML improvements
- link from logo to start page
- move common page header to templates/base.gohtml
2023-08-03 13:04:10 +02:00

12 lines
No EOL
413 B
Text

{{ define "content" }}
<main class="container error-message">
<h1>{{ .Title }}</h1>
<h2>{{ if .details.ErrorCode }}
<strong>{{ .details.ErrorCode }}</strong> {{ end }}{{ .details.ErrorMessage }}</h2>
{{ if .details.ErrorDetails }}
{{ range .details.ErrorDetails }}
<p>{{ . }}</p>
{{ end }}
{{ end }}
</main>
{{ end }}