<%= form_tag(sessions_path, method: :post, id: :new_session) do %>
<% if params[:action] == "create" %>
The username/password pair you entered did
not match our records. Check your typing and
try again.
<% end %>
<%= label_tag(:username_or_email, "Username/Email") %>
<%= text_field_tag(:username_or_email) %>
<%= label_tag(:password) %>
<%= password_field_tag(:password) %>
<%= submit_tag("Log in", class: :signin) %>
<% end %>
New user? <%= link_to("Sign up now!", new_user_path) %>