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,
|
2017-11-11 12:44:09 +01:00
|
|
|
url: session_path(resource_name) do |f|
|
2017-06-02 13:15:23 +02:00
|
|
|
.field.login
|
|
|
|
= f.label :login
|
2017-11-11 12:44:09 +01:00
|
|
|
%br/
|
2018-02-04 23:38:15 +01:00
|
|
|
= f.text_field :login, autofocus: true
|
2017-06-02 13:15:23 +02:00
|
|
|
.field.password
|
|
|
|
= f.label :password
|
2017-11-11 12:44:09 +01:00
|
|
|
%br/
|
|
|
|
= f.password_field :password, autocomplete: 'off'
|
2017-06-02 13:15:23 +02:00
|
|
|
- if devise_mapping.rememberable?
|
|
|
|
.field
|
|
|
|
= f.check_box :remember_me
|
|
|
|
= f.label :remember_me
|
|
|
|
.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'
|