2015-05-13 15:02:19 -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')
|
|
|
|
= 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-06 12:56:10 -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-06 12:56:10 -07:00
|
|
|
= render "devise/shared/links"
|
2014-11-25 04:58:20 -08:00
|
|
|
= render "shared/links"
|