Permalink
Browse files

Sign in screen: removed hr, added clearfix

  • Loading branch information...
1 parent 313595e commit 784cb886cf63ba956d6ae93a92d538fd200b5463 @randx randx committed Nov 7, 2012
Showing with 6 additions and 5 deletions.
  1. +6 −5 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)

0 comments on commit 784cb88

Please sign in to comment.