13 lines
522 B
Plaintext
13 lines
522 B
Plaintext
.container
|
|
.row
|
|
.col-sm-4.offset-sm-4
|
|
= render "layouts/messages"
|
|
.card.mt-3
|
|
.card-body
|
|
%h1.mb-3.mt-0= t(".heading")
|
|
= bootstrap_form_for(resource, as: resource_name, url: session_path(resource_name), method: :post, html: { id: '2fa-form' }, data: { turbo: false }) do |f|
|
|
= f.text_field :otp_attempt, autofocus: true, inputmode: :numeric, label: t(".otp_attempt")
|
|
= f.submit t("voc.login"), class: "btn btn-primary mt-3 mb-3"
|
|
|
|
= render "shared/links"
|