Sha256: 3b9b5db38b1b2f9d63095b9b78c10bf69f9e935216167fd8a730cd302cb32c13

Contents?: true

Size: 719 Bytes

Versions: 19

Compression:

Stored size: 719 Bytes

Contents

= render('layout') do
  - raise('expected a submitted cpd_audit') unless resource.was_submitted? || resource.closed?

  - if resource.was_submitted?
    .text-center
      .row
        .col-2
        .col-8
          .alert.alert-success Audit Submitted!

    %p
      The following audit was successfully submitted at
      = succeed('.') do
        = resource.submitted_at.strftime('%F')

      - unless resource.determination.present?
        Your audit must be reviewed and a final determination made.
        We will send
        %strong= resource.user.email
        an email notifying you of the determination.

  .mb-4= render(resource)

  %br
  .text-center= link_to 'Home', root_path, class: 'btn btn-primary'

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
effective_cpd-0.6.6 app/views/effective/cpd_audits/complete.html.haml
effective_cpd-0.6.5 app/views/effective/cpd_audits/complete.html.haml
effective_cpd-0.6.4 app/views/effective/cpd_audits/complete.html.haml
effective_cpd-0.6.3 app/views/effective/cpd_audits/complete.html.haml
effective_cpd-0.6.2 app/views/effective/cpd_audits/complete.html.haml
effective_cpd-0.6.1 app/views/effective/cpd_audits/complete.html.haml
effective_cpd-0.6.0 app/views/effective/cpd_audits/complete.html.haml
effective_cpd-0.5.4 app/views/effective/cpd_audits/complete.html.haml
effective_cpd-0.5.3 app/views/effective/cpd_audits/complete.html.haml
effective_cpd-0.5.2 app/views/effective/cpd_audits/complete.html.haml
effective_cpd-0.5.1 app/views/effective/cpd_audits/complete.html.haml
effective_cpd-0.5.0 app/views/effective/cpd_audits/complete.html.haml
effective_cpd-0.4.3 app/views/effective/cpd_audits/complete.html.haml
effective_cpd-0.4.2 app/views/effective/cpd_audits/complete.html.haml
effective_cpd-0.4.1 app/views/effective/cpd_audits/complete.html.haml
effective_cpd-0.4.0 app/views/effective/cpd_audits/complete.html.haml
effective_cpd-0.3.3 app/views/effective/cpd_audits/complete.html.haml
effective_cpd-0.3.2 app/views/effective/cpd_audits/complete.html.haml
effective_cpd-0.3.1 app/views/effective/cpd_audits/complete.html.haml