Sign In

<%= flash_messages %> <%= form_tag sessions_path, method: :post do %> <%= hidden_field_tag :return_to, params[:return_to] %>
<%= label_tag :email %> <%= email_field_tag :email, nil, class: "form-control" %>
<%= label_tag :password %> <%= password_field_tag :password, nil, class: "form-control" %>
<%= submit_tag 'Sign In', class: "btn btn-primary" %> <% end %>