2014-08-01 06:27:08 -07:00
|
|
|
.container
|
|
|
|
%h1 Sign in
|
|
|
|
= render 'layouts/messages'
|
|
|
|
|
2014-10-27 22:36:38 -07:00
|
|
|
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
2014-08-01 06:27:08 -07:00
|
|
|
|
|
|
|
= f.text_field :login, autofocus: true, label: "User name"
|
|
|
|
= f.password_field :password, autocomplete: "off", label: "Password"
|
|
|
|
|
|
|
|
- if devise_mapping.rememberable?
|
|
|
|
= f.check_box :remember_me
|
|
|
|
|
|
|
|
= f.submit "Sign in"
|
|
|
|
|
|
|
|
= render "devise/shared/links"
|