2019-05-10 18:06:39 +02:00
|
|
|
%h2= t('.sign_in')
|
2019-05-09 17:49:01 +02:00
|
|
|
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
|
|
|
.field.login
|
|
|
|
= f.label :login
|
|
|
|
%br/
|
2019-05-11 15:01:10 +02:00
|
|
|
= f.text_field :login, autofocus: true, autocomplete: "login"
|
2019-05-09 17:49:01 +02:00
|
|
|
.field.password
|
|
|
|
= f.label :password
|
|
|
|
%br/
|
2019-05-10 18:06:39 +02:00
|
|
|
= f.password_field :password, autocomplete: "current-password"
|
2019-05-09 17:49:01 +02:00
|
|
|
- if devise_mapping.rememberable?
|
|
|
|
.field
|
|
|
|
= f.label :remember_me
|
2019-05-10 15:33:19 +02:00
|
|
|
= f.check_box :remember_me
|
2019-05-09 17:49:01 +02:00
|
|
|
.actions
|
|
|
|
= f.submit t('.sign_in')
|
2019-05-10 18:06:39 +02:00
|
|
|
= render "devise/shared/links"
|