<%= form_for :mfa, url: url do |f| %>
Please enter the MFA code you received at <%= masked_phone %>
<% RailsBase::Authentication::Constants::MFA_LENGTH.times do |index| %> <%= f.text_field "#{RailsBase::Authentication::Constants::MV_BASE_NAME}#{index}", type: "tel", style: "caret-color: transparent; text-align: center;", class: "numbersOnly digit mfa-validator", size: 1, maxlength: 1, autofocus: index==0 %> <% end %>
<% unless defined?(disable) %> <%= f.submit "submit", class: "submit-mfa btn btn_success", style: "width: 50%;", disabled: true %> <%end%>
<% end %>