<% provide(:head_title, t("devise.sessions.new.head_title")) %> <% content_for(:body_class, 'sign-in-layout') %>

<%= t "devise.sessions.2fa.title" %>

<%= form_with url: users_authenticate_with_two_factor_url, local: true do %>

<%= t "devise.sessions.2fa.description" %>

<%= label :otp, t("devise.sessions.2fa.field") %> <%= text_field_tag(:otp, '', { class: "form-control sci-input-field" })%>

<%= button_tag t("devise.sessions.2fa.enter"), type: :submit, class: "btn btn-primary" %>

<%= link_to t("devise.sessions.2fa.bypass_code_link"), users_two_factor_recovery_path %> <% end %>