Sessions#new

Find me in app/views/sessions/new.html.erb

Log in

<%= form_for(:session, url: login_path) do |f| %> <%= f.label :name %> <%= f.text_field :name, class: 'form-control' %> <%= f.submit "Log in", class: "btn btn-primary" %> <% end %>

New user? <%= link_to "Sign up now!", signup_path %>