_new_base.html.haml 629 Bytes
Newer Older
1
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
2
  = f.text_field :login, class: "form-control top", placeholder: "Username or Email", autofocus: "autofocus", autocapitalize: "off", autocorrect: "off"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
3
  = f.password_field :password, class: "form-control bottom", placeholder: "Password"
4
  - if devise_mapping.rememberable?
5
6
    .remember-me.checkbox
      %label{for: "user_remember_me"}
7
8
        = f.check_box :remember_me
        %span Remember me
9
10
      .pull-right
        = link_to "Forgot your password?", new_password_path(resource_name)
11
  %div
12
    = f.submit "Sign in", class: "btn btn-save"