<% @body_id = 'login' %>
<% if @user.anonymous? %> <%= render :partial => 'shared/social_registrations', :locals => {:user => @user, :omniauth => @omniauth} %> <% else %> <% end %>
<%= t("email") %>: <%= @user.email %>

<%= link_to t('edit'), edit_account_path %>

<% if @user.user_authentications %> <% unless @user.user_authentications.empty? %>

You have signed in with these services:

<% for user_authentication in @user.user_authentications %>
<%= image_tag "social/#{user_authentication.provider}_32.png", :size => "32x32" %>
<%= user_authentication.provider %>
<%= user_authentication.nickname %>
<%= link_to( "X", user_authentication, :confirm => 'Are you sure you want to remove this authentication option?', :method => :delete, :class => "remove") %>
<% end %>
<% end %>

Add another service to sign in with:

<% end %> <%= hook :login_extras %>
<% content_for :head do %> <%= stylesheet_link_tag 'social.css' %> <% end %>