From 0cf51b8ff15743e1786dceeb83dba0505b2b85be Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Sat, 2 Jan 2021 12:09:06 +0100 Subject: [PATCH] Bootstrap styling for login error messages --- templates/idp/login.gohtml | 39 ++++++++++++++++++++++++++++++++------ 1 file changed, 33 insertions(+), 6 deletions(-) diff --git a/templates/idp/login.gohtml b/templates/idp/login.gohtml index 8c0440b..9b65ffc 100644 --- a/templates/idp/login.gohtml +++ b/templates/idp/login.gohtml @@ -1,16 +1,43 @@ {{ define "content" }} -
+ CAcert

{{ .Title }}

{{ .csrfField }} - {{ if .errors.Form}}

{{ .errors.Form }}

{{ end }} - {{ if .errors.Email }}

{{ .errors.Email }}

{{ end }} + {{ if .errors.Form}}

{{ .errors.Form }}

{{ end }} -
- {{ if .errors.Password }}

{{ .errors.Password }}

{{ end }} +
+
+
+ + + +
+
+
+ {{ if .errors.Email }} +
{{ .errors.Email }}
{{ end }} +
-
+
+
+
+ + + + +
+
+ + {{ if .errors.Password }} +
{{ .errors.Password }}
{{ end }} +
{{ end }} \ No newline at end of file