ministryofjustice/atet

View on GitHub
app/views/refunds/_confirmation.html.slim

Summary

Maintainability
Test Coverage
- content_for(:submit_button, '<!-- Submit Button Placeholder -->'.html_safe)
div
  p.govuk-body = t('.confirmation')
  .govuk-notification-banner.govuk-notification-banner--success role="region" aria-labelledby="govuk-notification-banner-title" data-module="govuk-notification-banner"
    .govuk-notification-banner__header
      h2.govuk-notification-banner__title = t '.callout_detail'
    .govuk-notification-banner__content
      p.govuk-notification-banner__heading data-behavior="application_reference" = f.object.application_reference

  section.content-section
    h2.govuk-heading-m = t('.what_happens_next.header')
    hr class="govuk-section-break.govuk-section-break--visible govuk-!-margin-bottom-3"
    ul
      - t('.what_happens_next_detail_html').each_line do |line|
        li.govuk-body = line
    h2.govuk-heading-m = t('.refund_details.header')
    hr class="govuk-section-break.govuk-section-break--visible govuk-!-margin-bottom-0"
    dl class="govuk-summary-list govuk-!-margin-bottom-9"
      .govuk-summary-list__row
        dt class="govuk-summary-list__key" = t '.refund_submitted.header'
        dd class="govuk-summary-list__value" data-behavior="submitted_at" = f.object.submitted_at.strftime('%d %B %Y')

    p.govuk-body = t '.print_link_html'