diff options
author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-11-07 17:49:52 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-11-07 17:49:52 +0200 |
commit | 784cb886cf63ba956d6ae93a92d538fd200b5463 (patch) | |
tree | 194e95d46787e0e988d14e763b4f9f720d6a467d | |
parent | 313595e171c9931b4d61b1b4b19c50347bc4f87b (diff) | |
download | gitlab-ce-784cb886cf63ba956d6ae93a92d538fd200b5463.tar.gz |
Sign in screen: removed hr, added clearfix
-rw-r--r-- | app/views/devise/sessions/new.html.haml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/app/views/devise/sessions/new.html.haml b/app/views/devise/sessions/new.html.haml index 07ecf70b6c9..38192d7107d 100644 --- a/app/views/devise/sessions/new.html.haml +++ b/app/views/devise/sessions/new.html.haml @@ -14,8 +14,9 @@ = f.submit "Sign in", :class => "primary btn wide" .right = render :partial => "devise/shared/links" - - if devise_mapping.omniauthable? - %hr/ - - resource_class.omniauth_providers.each do |provider| - %span - = link_to authbutton(provider, 32), omniauth_authorize_path(resource_name, provider) + .clearfix + - if devise_mapping.omniauthable? && resource_class.omniauth_providers.present? + %div + - resource_class.omniauth_providers.each do |provider| + %span + = link_to authbutton(provider, 32), omniauth_authorize_path(resource_name, provider) |