about summary refs log tree commit diff stats
path: root/app/views/users/sessions/new.html.haml
blob: f7c8de91ba88876dbdbd9ddf95d09f99bcdbe62b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#principal
  = form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
    .field
      = f.label :login
      = f.text_field :login, autofocus: true
    .field
      = f.label :password
      = f.password_field :password, autocomplete: "off"
    .remember-me-field
      = f.check_box :remember_me
      = f.label :remember_me
    .submit-field
      = f.submit "Log in"
.navigation= link_to "Forgot your password?", new_password_path(resource_name)
.navigation= link_to "← Back to thoughts", root_url