{{ define "content" }}
{{ if .c.CustomLogo }} Logo {{ else }} Logo {{ end }}

{{ if .isLoginPage }}{{ .locale.Tr "auth.login" }}{{ else }}{{ .locale.Tr "auth.signup" }}{{ end }} to {{ if .c.CustomName }}{{ .c.CustomName }}{{ else }}Opengist{{ end }}

{{ if .disableSignup }}

{{ .locale.Tr "auth.signup-disabled" }}

{{ else }}
{{ if not .disableForm }}
{{ .csrfHtml }}
{{ end }} {{ if and .isLoginPage (not .disableForm) }}
{{ .csrfHtml }}
{{ end }} {{ if or .githubOauth .gitlabOauth .giteaOauth .oidcOauth }} {{ if not .disableForm }} {{ end }} {{ end }} {{ if not .disableForm }}

{{ if .isLoginPage }} {{ if not .DisableSignup }} {{ .locale.Tr "auth.register-instead" }} → {{ end }} {{ else }} {{ .locale.Tr "auth.login-instead" }} → {{ end }}

{{ end }}
{{ end }}
{{ end }}