{{template "base/head" .}}
{{.CsrfTokenHtml}}

{{if .IsSocialLogin}}{{.i18n.Tr "social_sign_in" | Str2html}}{{else}}{{.i18n.Tr "sign_in"}}{{end}}

{{template "base/alert" .}}
{{if not .IsSocialLogin}}
{{end}}
{{if not .IsSocialLogin}}{{.i18n.Tr "auth.forget_password"}}{{end}}
{{if .ShowRegistrationButton}} {{end}} {{if and (not .IsSocialLogin) .OauthEnabled}}
{{template "base/social" .}}
{{end}}
{{template "base/footer" .}}