Sha256: 2392597025767518cde43a19659ab54874283eb10218293f8d07a833aff180c0
Contents?: true
Size: 481 Bytes
Versions: 3
Compression:
Stored size: 481 Bytes
Contents
<% if !current_user || !current_user.user_authentications %> <h2>Sign in through one of these services:</h2> <% end %> <% AuthenticationMethod.where(:environment => ::Rails.env).each do |user| %> <%= link_to(image_tag("social/#{user.preferred_provider}_32.png", :size => "32x32", :alt => "#{user.preferred_provider}"), user_authentication_omniauth_authorize_path(user.preferred_provider.to_sym), :title => "Sign in with #{user.preferred_provider}") if user.active %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spree_social-1.1 | app/views/shared/_socials.html.erb |
spree_social-1.0.2 | app/views/shared/_socials.html.erb |
spree_social-1.0.1 | app/views/shared/_socials.html.erb |