{{ define "loginPage" }} {{ $page := .}} {{ template "header" .}} {{ template "navigation" . }}
{{ if .Error }}
{{.Error}}
{{ end }} {{ if .PortalConfig.DisableLogin }}

Login has been disabled

{{ else }}

Login

{{ if not .PortalConfig.DisableSignup }} {{ if not .UserData }}

Don't have an account ? Register here

Forgot password? Request password reset

{{ end }} {{ end }}
{{ end }}
{{ template "footer" .}} {{ template "scripts" .}} {{ end }}