<%# # @file # The inner HTML of the account box that comes up in the bottom left #%> <% if authenticated? %> <% account = current_user %>

Hello <%= account.name.split[0...1][0] %>!

<% else %>

Sign In

<%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { class: "loginAnywhere" }) do |f| %>
<%= f.label :email %> <%= f.email_field :email, :autofocus => true %>
<%= f.label :password %> <%= f.password_field :password %>
<% if devise_mapping.rememberable? -%>
<%= f.check_box :remember_me %> <%= f.label :remember_me %>
<% end -%>
<%= f.submit "Sign in" %>
<% end %> <% end %>