oidc-idp/ui/templates/errors.gohtml

15 lines
523 B
Text
Raw Normal View History

{{ define "content" }}
<main role="main" class="container">
<h1>{{ .Title }}</h1>
<div class="alert alert-danger">
<h2 class="alert-heading">{{ if .details.ErrorCode }}
<strong>{{ .details.ErrorCode }}</strong> {{ end }}{{ .details.ErrorMessage }}
</h2>
{{ if .details.ErrorDetails }}
{{ range .details.ErrorDetails }}
{{ . }}
{{ end }}
{{ end }}
</div>
</main>
{{ end }}