2014-01-10 16:35:58 +01:00
|
|
|
%h2=t '.title'
|
|
|
|
|
|
|
|
= form_for resource, as: resource_name, url: session_path(resource_name) do |f|
|
2014-01-11 10:51:19 +01:00
|
|
|
.field
|
2014-01-10 16:35:58 +01:00
|
|
|
= f.label :login
|
|
|
|
= f.text_field :login, autofocus: true
|
|
|
|
|
2014-01-11 10:51:19 +01:00
|
|
|
.field
|
2014-01-10 16:35:58 +01:00
|
|
|
= f.label :password
|
|
|
|
= f.password_field :password
|
|
|
|
|
|
|
|
- if devise_mapping.rememberable?
|
2014-01-11 10:51:19 +01:00
|
|
|
.field
|
2014-01-10 16:35:58 +01:00
|
|
|
= f.check_box :remember_me
|
|
|
|
= f.label :remember_me
|
|
|
|
|
2014-01-11 10:51:19 +01:00
|
|
|
.actions= f.submit t('.sign_in')
|
2014-01-10 16:35:58 +01:00
|
|
|
|
2014-06-30 00:52:45 +02:00
|
|
|
= render 'devise/shared/links'
|