21 lines
756 B
Plaintext
21 lines
756 B
Plaintext
- provide(:title, generate_title('Sign In'))
|
|
.container
|
|
.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|
|
|
|
|
= f.text_field :login, autofocus: true, label: t('views.settings.account.username')
|
|
= f.password_field :password, autocomplete: :off, label: t('views.settings.account.password')
|
|
|
|
- if devise_mapping.rememberable?
|
|
= f.check_box :remember_me
|
|
|
|
= f.submit t('views.sessions.create'), class: 'btn btn-primary mt-3 mb-3'
|
|
|
|
= render 'devise/shared/links'
|
|
= render 'shared/links'
|