{{ template "header" .}}

{{ .title }}

{{ if and .DisableSignup (ne .title "Login") }}

Administrator has disabled signing up

{{ else }}
{{ if not .disableForm }}
{{ if eq .title "Login" }}
{{ if not .DisableSignup }} Register instead → {{ end }}
{{ else }} {{ end }} {{ .csrfHtml }}
{{ end }} {{ if or .githubOauth .giteaOauth .oidcOauth }} {{ if not .disableForm }}

{{ end }}
{{ if .githubOauth }} Continue with GitHub account {{ end }} {{ if .giteaOauth }} Continue with Gitea account {{ end }} {{ if .oidcOauth }} Continue with OpenID account {{ end }}
{{ end }}
{{ end }}
{{ template "footer" .}}