= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
  = f.text_field :login, class: "text top", placeholder: "Username or Email", autofocus: "autofocus"
  = f.password_field :password, class: "text bottom", placeholder: "Password"
  - if devise_mapping.rememberable?
    .clearfix.append-bottom-10
      %label.checkbox.remember_me{for: "user_remember_me"}
        = f.check_box :remember_me
        %span Remember me
  %div
    = f.submit "Sign in", class: "btn-create btn"
    .pull-right
      = link_to "Forgot your password?", new_password_path(resource_name), class: "btn"


