2014-09-02 18:07:02 +05:30
|
|
|
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
2015-09-11 14:41:01 +05:30
|
|
|
= f.text_field :login, class: "form-control top", placeholder: "Username or Email", autofocus: "autofocus", autocapitalize: "off", autocorrect: "off"
|
2014-09-02 18:07:02 +05:30
|
|
|
= f.password_field :password, class: "form-control bottom", placeholder: "Password"
|
|
|
|
- if devise_mapping.rememberable?
|
2015-04-26 12:48:37 +05:30
|
|
|
.remember-me.checkbox
|
|
|
|
%label{for: "user_remember_me"}
|
2014-09-02 18:07:02 +05:30
|
|
|
= f.check_box :remember_me
|
|
|
|
%span Remember me
|
2015-04-26 12:48:37 +05:30
|
|
|
.pull-right
|
|
|
|
= link_to "Forgot your password?", new_password_path(resource_name)
|
2014-09-02 18:07:02 +05:30
|
|
|
%div
|
2015-04-26 12:48:37 +05:30
|
|
|
= f.submit "Sign in", class: "btn btn-save"
|