{{ template "header" .}}

{{ .title }}

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

Administrator has disabled signing up

{{ else }}
{{ if eq .title "Login" }}
{{ if not .signupDisabled }} Register instead → {{ end }}
{{ else }} {{ end }} {{ .csrfHtml }}

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