{{template "base/head" .}}
{{template "admin/navbar" .}}
{{template "base/alert" .}}

{{.i18n.Tr "admin.auths.edit"}}

{{.CSRFTokenHTML}}
{{.Source.TypeName}}
{{if or .Source.IsLDAP .Source.IsDLDAP}} {{ $cfg:=.Source.LDAP }}
{{if .Source.IsLDAP}}

{{.i18n.Tr "admin.auths.bind_dn_helper"}}

{{.i18n.Tr "admin.auths.bind_password_helper"}}

{{end}} {{if .Source.IsDLDAP}}
{{end}}
{{if .Source.IsLDAP}}
{{end}} {{end}} {{if .Source.IsSMTP}} {{ $cfg:=.Source.SMTP }}

{{.i18n.Tr "admin.auths.allowed_domains_helper"}}

{{end}} {{if .Source.IsPAM}} {{ $cfg:=.Source.PAM }}
{{end}} {{if .Source.IsGitHub}} {{ $cfg:=.Source.GitHub }}
{{end}}
{{if not .Source.File}}
{{.i18n.Tr "admin.auths.delete"}}
{{end}}
{{template "base/footer" .}}