18F/identity-idp

View on GitHub
app/views/account_reset/confirm_delete_account/show.html.erb

Summary

Maintainability
Test Coverage
<% self.title = t('account_reset.confirm_delete_account.title') %>
<div class="margin-y-2 padding-y-6 padding-x-4 tablet:padding-x-6 border border-error rounded-xl position-relative">
  <%= render AlertIconComponent.new(
        icon_name: :delete,
        class: 'alert-icon--centered-top',
      ) %>
  <%= render PageHeadingComponent.new.with_content(t('account_reset.confirm_delete_account.title')) %>
  <p><%= t('account_reset.confirm_delete_account.info_html', email: email) %></p>
  <p class="margin-bottom-0">
    <%= t(
          'account_reset.confirm_delete_account.cta_html',
          link_html: link_to(
            t('account_reset.confirm_delete_account.link_text'),
            sign_up_email_path,
          ),
        ) %>
    </p>
</div>