<%= form_for(:session, url: session_path) do |f| %> <%= f.submit("Login", class: "button") %> <% end %>