Sign in

<% if @user.nil? %>

The email/username or password is incorrect. Verify that CAPS LOCK is not on, and then retype the current email/username and password.

<% end %>
<%= form_for(:session, url: sessions_path) do |f| %>

<%= f.label(:username_or_email, "Username/Email") %>
<%= f.text_field :username_or_email%>

<%= f.label :password %>
<%= f.password_field :password %>

<%= f.submit "Log in", class: "signin" %>

<% end %>

New user? <%= link_to("Sign up now!", new_user_path) %>