Retrospring/app/views/auth/two_factor_authentication.haml

13 lines
496 B
Plaintext
Raw Normal View History

2020-10-18 01:39:46 -07:00
.container
.row
.col-sm-4.offset-sm-4
2022-02-13 09:52:51 -08:00
= render "layouts/messages"
2020-10-18 01:39:46 -07:00
.card.mt-3
.card-body
2022-02-13 09:52:51 -08:00
%h1.mb-3.mt-0= t(".heading")
2022-09-11 12:59:20 -07:00
= bootstrap_form_for(resource, as: resource_name, url: session_path(resource_name), method: :post, data: { turbo: false }) do |f|
2022-06-27 14:32:38 -07:00
= f.text_field :otp_attempt, autofocus: true, inputmode: :numeric, label: t(".otp_attempt")
2022-02-13 09:52:51 -08:00
= f.submit t("voc.login"), class: "btn btn-primary mt-3 mb-3"
2020-10-18 01:39:46 -07:00
2022-02-13 09:52:51 -08:00
= render "shared/links"