18F/identity-idp

View on GitHub
app/views/two_factor_authentication/piv_cac_verification/show.html.erb

Summary

Maintainability
Test Coverage
<% self.title = t('titles.present_piv_cac') %>

<%= render PageHeadingComponent.new.with_content(@presenter.header) %>

<p>
  <%= t('instructions.mfa.piv_cac.confirm_piv_cac') %>
</p>

<div class="margin-y-5">
  <%= render SpinnerButtonComponent.new(
        url: @presenter.piv_cac_service_link,
        big: true,
        wide: true,
      ).with_content(@presenter.piv_cac_capture_text) %>
</div>

<%= render 'two_factor_authentication/troubleshooting_options', presenter: @presenter %>
<%= render 'shared/cancel', link: @presenter.cancel_link %>