_omniauth_box.html.haml 475 Bytes
Newer Older
1 2 3 4 5 6 7
%p
  %span.light
    Sign in with  
  - providers = additional_providers
  - providers.each do |provider|
    %span.light
      - if default_providers.include?(provider)
8
        = link_to oauth_image_tag(provider), omniauth_authorize_path(resource_name, provider), method: :post, class: 'oauth-image-link'
9
      - else
10
        = link_to provider.to_s.titleize, omniauth_authorize_path(resource_name, provider), method: :post, class: "btn", "data-no-turbolink" => "true"