2014-08-01 06:27:08 -07:00
|
|
|
.container
|
|
|
|
%h1 Sign in
|
|
|
|
= render 'layouts/messages'
|
|
|
|
|
2014-11-02 04:47:35 -08:00
|
|
|
= bootstrap_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"
|