Authenticator code
<%= form_with url: two_factor_session_path, class: "card card-body space-y-4" do |form| %>
Enter the 6-digit code from your authenticator app. Lost your phone? Enter one of your recovery codes instead.
<%= form.label :code, "Code", class: "label" %>
<%= form.text_field :code, required: true, autofocus: true, autocomplete: "one-time-code", inputmode: "text", maxlength: 20, class: "input text-lg tracking-widest" %>
<%= form.submit "Continue", class: "btn-primary w-full justify-center" %>
<%= link_to "Start again", new_session_path, class: "link" %>
<% end %>