2017-06-02 13:15:23 +02:00
|
|
|
%h2= t '.title'
|
2014-01-10 16:35:58 +01:00
|
|
|
|
2017-06-02 13:15:23 +02:00
|
|
|
%fieldset
|
2017-06-02 23:55:26 +02:00
|
|
|
= form_for resource, as: resource_name,
|
|
|
|
url: session_path(resource_name) do |f|
|
2017-06-02 13:15:23 +02:00
|
|
|
.field.login
|
|
|
|
= f.label :login
|
|
|
|
= f.text_field :login, autofocus: true
|
2014-01-10 16:35:58 +01:00
|
|
|
|
2017-06-02 13:15:23 +02:00
|
|
|
.field.password
|
|
|
|
= f.label :password
|
|
|
|
= f.password_field :password
|
2014-01-10 16:35:58 +01:00
|
|
|
|
2017-06-02 13:15:23 +02:00
|
|
|
- if devise_mapping.rememberable?
|
|
|
|
.field
|
|
|
|
= f.check_box :remember_me
|
|
|
|
= f.label :remember_me
|
2014-01-10 16:35:58 +01:00
|
|
|
|
2017-06-02 13:15:23 +02: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'
|