<% title "Sign in", false %>

Sign In

<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>

<%= f.submit "Sign in" %>

<%= render :partial => "devise/shared/links" %> <% end %>

Sign In through social media

<% if @authentications %> <% unless @authentications.empty? %>

You can sign in to this account using:

<% for authentication in @authentications %>
<%= image_tag "#{authentication.provider}_32.png", :size => "32x32" %>
<%= authentication.provider.titleize %>
<%= authentication.uid %>
<%= link_to "X", 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:

<% else %>

We optionally allow you to sign in through your favorite social media platform, too.

<% end %> <%= image_tag "facebook_50.gif", :size => "50x50", :alt => "Facebook" %>