2020-05-10 04:45:48 -07:00
|
|
|
- provide(:title, generate_title('Sign In'))
|
2014-08-01 06:27:08 -07:00
|
|
|
.container
|
2020-05-06 12:56:10 -07:00
|
|
|
.row
|
|
|
|
.col-sm-4.offset-sm-4
|
|
|
|
= render 'layouts/messages'
|
|
|
|
.card.mt-3
|
|
|
|
.card-body
|
|
|
|
%h1.mb-3.mt-0= t('views.sessions.create')
|
|
|
|
= bootstrap_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
2014-08-01 06:27:08 -07:00
|
|
|
|
2020-05-06 12:56:10 -07:00
|
|
|
= f.text_field :login, autofocus: true, label: t('views.settings.account.username')
|
2020-05-10 13:27:39 -07:00
|
|
|
= f.password_field :password, autocomplete: :off, label: t('views.settings.account.password')
|
2014-08-01 06:27:08 -07:00
|
|
|
|
2020-05-06 12:56:10 -07:00
|
|
|
- if devise_mapping.rememberable?
|
|
|
|
= f.check_box :remember_me
|
2014-08-01 06:27:08 -07:00
|
|
|
|
2020-05-10 04:45:48 -07:00
|
|
|
= f.submit t('views.sessions.create'), class: 'btn btn-primary mt-3 mb-3'
|
2015-05-10 10:48:47 -07:00
|
|
|
|
2020-05-10 04:45:48 -07:00
|
|
|
= render 'devise/shared/links'
|
|
|
|
= render 'shared/links'
|