diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/user/auth/signin.tmpl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/user/auth/signin.tmpl b/templates/user/auth/signin.tmpl index 54748077..78d6febb 100644 --- a/templates/user/auth/signin.tmpl +++ b/templates/user/auth/signin.tmpl @@ -26,18 +26,16 @@ <button class="btn btn-green btn-large btn-radius">{{.i18n.Tr "sign_in"}}</button> {{if not .IsSocialLogin}}<a href="{{AppSubUrl}}/user/forget_password">{{.i18n.Tr "auth.forget_password"}}</a>{{end}} </div> - {{if not .IsSocialLogin}} <div class="field"> <label></label> <a href="{{AppSubUrl}}/user/sign_up">{{.i18n.Tr "auth.sign_up_now" | Str2html}}</a> </div> - {{if .OauthEnabled}} + {{if and (not .IsSocialLogin) .OauthEnabled}} <hr/> <div id="sign-social" class="text-center social-buttons"> {{template "ng/base/social" .}} </div> {{end}} - {{end}} </div> </form> </div> |