<% 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 %>
<%= label :otp, t("devise.sessions.2fa.field") %> <%= text_field_tag(:otp, '', { class: "form-control sci-input-field", placeholder: t("devise.sessions.2fa.placeholder") })%>
<%= button_tag t("devise.sessions.new.submit"), type: :submit, class: "btn btn-primary log-in-button" %>
<%= link_to 'I have a bypass code', users_two_factor_recovery_path %> <% end %>