debian-mirror-gitlab/app/views/devise/shared/_omniauth_box.html.haml
2015-09-11 14:41:01 +05:30

8 lines
356 B
Text

%p
%span.light
Sign in with  
- providers = button_based_providers
- providers.each do |provider|
%span.light
- has_icon = provider_has_icon?(provider)
= link_to provider_image_tag(provider), user_omniauth_authorize_path(provider), method: :post, class: (has_icon ? 'oauth-image-link' : 'btn'), "data-no-turbolink" => "true"