Sha256: 4385517a9fe813a26ece63ba47f1f0fe758746217dfe6b352da788abf5ae6579

Contents?: true

Size: 551 Bytes

Versions: 1

Compression:

Stored size: 551 Bytes

Contents

<% if (!current_user || !current_user.user_authentications) && Spree::AuthenticationMethod.active_authentication_methods? %>
  <h2><%= t(:sign_in_through_one_of_these_services) %>:</h2>
<% end %>

<% Spree::AuthenticationMethod.available_for(@user).each do |method| %>
  <% img = "store/#{method.provider}_32.png" %>
  <%= link_to(image_tag(img, :size => "32x32", :alt => "#{method.provider}"), "http://#{Spree::Config[:site_url]}/users/auth/#{method.provider}", :title => t(:sign_in_with, :provider => method.provider)) if method.active %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_social_onr-2.1.4 app/views/spree/shared/_social.html.erb