<%= t(".title") %>

<%= t(".scan") %>
<%= raw RQRCode::QRCode.new(current_user.pending_otp_provisioning_uri) .as_svg(:module_size => 4, :viewbox => true, :color => "000", :fill => "fff") %>
<%= t(".manual_hint") %> <%= current_user.otp_pending_secret %>
<%= t(".confirm") %>
<%= form_tag otp_enrollment_path, :method => :put, :class => "otp_form" do %> <%= text_field_tag :code, nil, :autofocus => true, :autocomplete => "one-time-code", :inputmode => "numeric" %> <%= button_tag :type => "submit", :class => "action_button" do %> <%= icon("shield-check", library: "tabler", "aria-hidden": true) %> <%= t(".confirm") %> <% end %> <% end %> <%= t(".app_hint", :issuer => OTP_ISSUER) %>