ministryofjustice/Claim-for-Crown-Court-Defence

View on GitHub
app/views/external_users/claims/confirmation.html.haml

Summary

Maintainability
Test Coverage
= content_for :page_title, flush: true do
  = t('.page_title')

- present(@claim) do |claim|
  .govuk-grid-row
    .govuk-grid-column-full.govuk-body
      = govuk_panel t('.thanks'), t('.will_be_processed')

  .govuk-grid-row
    .govuk-grid-column-two-thirds.govuk-body
      %h2.govuk-heading-l
        = t('.what_happens_next')

      = raw t('.what_happens_next_prompt_html', external_users_root_url: external_users_root_url)

      - if claim.disk_evidence?
        = render partial: 'shared/disk_evidence_info', locals: { f: claim }

      .button-holder
        .govuk-button-group
          = govuk_link_button(t('link.file_another_claim'), new_external_users_claim_types_path)
          = govuk_link_button_secondary(t('link.view_claim'), external_users_root_url)