2015-09-11 14:41:01 +05:30
|
|
|
%div
|
|
|
|
.login-box
|
|
|
|
.login-heading
|
|
|
|
%h3 Two-factor Authentication
|
|
|
|
.login-body
|
|
|
|
= form_for(resource, as: resource_name, url: session_path(resource_name), method: :post) do |f|
|
2016-06-02 11:05:42 +05:30
|
|
|
= f.text_field :otp_attempt, class: 'form-control', placeholder: 'Two-factor Authentication code', required: true, autofocus: true
|
|
|
|
%p.help-block.hint Enter the code from the two-factor app on your mobile device. If you've lost your device, you may enter one of your recovery codes.
|
2015-09-11 14:41:01 +05:30
|
|
|
.prepend-top-20
|
|
|
|
= f.submit "Verify code", class: "btn btn-save"
|