<%= form_for @session || Session.new, url: session_path do |form| %>

Login

<%= form.text_field :email, class: "email" %> <%= form.password_field :password, class: "password" %> <%= form.submit "Login", class: "add" %> <% end %>