2020-10-18 01:39:46 -07:00
|
|
|
.container
|
|
|
|
.row
|
|
|
|
.col-sm-4.offset-sm-4
|
|
|
|
= render 'layouts/messages'
|
|
|
|
.card.mt-3
|
|
|
|
.card-body
|
|
|
|
%h1.mb-3.mt-0= t('views.auth.2fa.title')
|
|
|
|
= bootstrap_form_for(resource, as: resource_name, url: session_path(resource_name), method: :post) do |f|
|
|
|
|
|
2020-11-15 01:20:55 -08:00
|
|
|
= f.text_field :otp_attempt, autofocus: true, label: 'Please enter the code from your authenticator app'
|
2020-10-18 01:39:46 -07:00
|
|
|
|
|
|
|
= f.submit t('views.sessions.create'), class: 'btn btn-primary mt-3 mb-3'
|
|
|
|
|
|
|
|
= render 'shared/links'
|