Retrospring/app/views/devise/sessions/new.html.haml

21 lines
669 B
Plaintext
Raw Normal View History

2022-02-05 10:29:10 -08:00
- provide(:title, generate_title(t(".title")))
2014-08-01 06:27:08 -07:00
.container
2020-05-06 12:56:10 -07:00
.row
.col-sm-4.offset-sm-4
2022-02-05 10:29:10 -08:00
= render "layouts/messages"
2020-05-06 12:56:10 -07:00
.card.mt-3
.card-body
2022-02-05 10:29:10 -08:00
%h1.mb-3.mt-0= t(".title")
2022-09-07 12:41:42 -07:00
= bootstrap_form_for(resource, as: resource_name, url: session_path(resource_name), data: { turbo: false }) do |f|
2014-08-01 06:27:08 -07:00
= f.text_field :login, autofocus: true, autocomplete: :username
= f.password_field :password, autocomplete: "current-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
2022-02-05 10:29:10 -08:00
= f.primary t("voc.login")
2015-05-10 10:48:47 -07:00
2022-02-05 10:29:10 -08:00
= render "devise/shared/links"
= render "shared/links"