<%= form_for(@user_session) do |f| %> <% if @user_session.errors.any? %>

<%= pluralize(@user_session.errors.count, "error") %> prohibited this user_session from being saved:

<% end %>
<%= f.label :username %>
<%= f.text_field :username %>
<%= f.label :password %>
<%= f.password_field :password %>
<%= f.submit %>
<% end %>