<%= form_tag user_sessions_path, :method => :post do %>
<%= label_tag :email %> <%= text_field_tag :email %> <%= label_tag :password %> <%= password_field_tag :password %>

<%= submit_tag " Login ", class: "btn btn-primary" %>
<% end %>