{{ 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 }} {{ if not .disableForm }}

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