Sha256: 98f5e8e45a240aeaaec7a81281c564c53ff86c3d8dbbc4425d8464a17915a839
Contents?: true
Size: 1.4 KB
Versions: 1
Compression:
Stored size: 1.4 KB
Contents
<% if Spree::AuthenticationMethod.active_authentication_methods? %> <% @body_id = 'login' %> <div id="existing-customer"> <table> <tr> <% if @user.anonymous? %> <%= render :partial => 'spree/shared/social_registrations', :locals => {:user => @user, :omniauth => @omniauth} %> <% end %> </tr> </table> <% if @user.user_authentications %> <% unless @user.user_authentications.empty? %> <p><strong><%= t(:you_have_signed_in_with_these_services) %>:</strong></p> <div class="authentications"> <% for user_authentication in @user.user_authentications %> <div class="authentication"> <%= image_tag "store/#{user_authentication.provider}_32.png", :size => "32x32", :class => "columns" %> <div class="provider columns two"><%= user_authentication.provider %></div> <div class="uid columns two"><%= user_authentication.uid %></div> <%= link_to "X", user_authentication, :confirm => "#{t(:remove_authentication_option_confirmation)}", :method => :delete, :class => "remove" %> </div> <% end %> <div class="clear"></div> </div> <% end %> <% end %> <%= content_tag(:p, content_tag(:strong, t(:add_another_service_to_sign_in_with))) if Spree::AuthenticationMethod.available_for(@user).exists? %> <%= render :partial => "spree/shared/social" %> </div> <div class="clear"></div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_social_onr-2.1.4 | app/views/spree/users/_social.html.erb |