<%= form_for(:session, url: login_path) do |f| %>
<%= f.label :username %>
<%= f.text_field :login, class: 'form-control', autofocus: 'autofocus' %>
<%= f.label :password %>
<%= f.password_field :password, class: 'form-control' %>
<%= f.label :remember_me, class: "checkbox inline" do %>
<%= f.check_box :remember_me %>
Remember me on this computer
<% end %>
<%= f.submit "Log in", class: "btn btn-lg btn-block btn-success" %>
<% end %>