summaryrefslogtreecommitdiff
path: root/app/views/devise/shared/_omniauth_box.html.haml
blob: e87a16a51575110010fc03278af6ccf80e648aff (plain)
1
2
3
4
5
6
7
8
9
.omniauth-container
  %p
    %span.light
      Sign in with  
    - providers = enabled_button_based_providers
    - providers.each do |provider|
      %span.light
        - has_icon = provider_has_icon?(provider)
        = link_to provider_image_tag(provider), omniauth_authorize_path(:user, provider), method: :post, class: (has_icon ? 'oauth-image-link' : 'btn'), "data-no-turbolink" => "true"