%= render 'shared/turbo_modal', title: 'Setup 2FA' do %>
  <%= form_for '', url: mfa_setup_path, data: { turbo_frame: :_top } do |f| %>
    
      Use an authenticator mobile app like Google Authenticator or 1Password to scan the QR code below.
    
    
      <%== RQRCode::QRCode.new(@provision_url).as_svg(viewbox: true, svg_attributes: { class: 'w-80 h-80 my-4 mx-auto' }) %>
    
    
      <%= f.text_field :otp_attempt, required: true, placeholder: 'XXX-XXX', class: 'base-input text-center' %>
      
        <%= @error_message %>
      
    
    
      <%= f.button button_title(title: 'Save'), class: 'base-button' %>
    
  <% end %>
<% end %>