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

21 lines
606 B
Plaintext

- provide(:title, generate_title(t(".title")))
.container
.row
.col-sm-4.offset-sm-4
= render "layouts/messages"
.card.mt-3
.card-body
%h1.mb-3.mt-0= t(".title")
= bootstrap_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
= f.text_field :login, autofocus: true
= f.password_field :password, autocomplete: :off
- if devise_mapping.rememberable?
= f.check_box :remember_me
= f.primary t("voc.login")
= render "devise/shared/links"
= render "shared/links"