<%=l :setting_twofa %>

<%=l 'twofa_label_enter_otp' %>

<%= form_tag({ action: 'twofa' }, { id: 'twofa_form', onsubmit: 'return keepAnchorOnSignIn(this);' }) do -%> <%= text_field_tag :twofa_code, nil, tabindex: '1', autocomplete: 'one-time-code', autofocus: true -%> <%= submit_tag l(:button_login), tabindex: '2', id: 'login-submit', name: :submit_otp -%> <% end %>