18F/identity-idp

View on GitHub
app/views/users/backup_code_setup/reminder.html.erb

Summary

Maintainability
Test Coverage
<% self.title = t('forms.backup_code.title') %>

<%= image_tag asset_url('user-signup.svg'), width: 107, height: 119, alt: '', class: 'margin-bottom-4', aria: { hidden: true } %>

<%= render PageHeadingComponent.new.with_content(t('forms.backup_code_reminder.heading')) %>

<p class='margin-top-1 margin-bottom-4'>
  <%= t('forms.backup_code_reminder.body_info') %>
</p>

<%= button_to(
      account_path,
      method: :get,
      class: 'usa-button usa-button--wide usa-button--big margin-bottom-3',
    ) do %>
  <%= t('forms.backup_code_reminder.have_codes') %>
<% end %>

<%= link_to t('forms.backup_code_reminder.need_new_codes'), backup_code_regenerate_path %>