modules/two_factor_authentication/app/views/two_factor_authentication/authentication/enter_backup_code.html.erb
<% html_title t(:field_otp) %>
<% breadcrumb_paths(t(:field_otp)) %>
<div id="login-form" class="form -bordered">
<%= styled_form_tag({ action: :verify_backup_code }, { :autocomplete => "off", :id => 'submit_backup_code' }) do %>
<h2><%= t 'two_factor_authentication.login.enter_backup_code_title' %></h2>
<p><%= I18n.t('two_factor_authentication.login.enter_backup_code_text') %></p>
<hr class="form--separator">
<div class="form--field -required -wide-label">
<%= styled_label_tag 'backup_code', t('two_factor_authentication.backup_codes.singular') %>
<div class="form--field-container">
<%= styled_text_field_tag 'backup_code', nil, required: true, autocomplete: 'off', size: 20, maxlength: 20, tabindex: 1, autofocus: true %>
</div>
</div>
<div class="login-form--footer">
<input type="submit" name="login" value="<%=t(:button_submit)%>" class="button -primary button_no-margin" tabindex="2" />
</div>
<% end %>
</div>