Sha256: decbc6948d04f30d9d787fecc961d3313d43096e9f93df45b03b649079d70d40

Contents?: true

Size: 1.13 KB

Versions: 27

Compression:

Stored size: 1.13 KB

Contents

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

  - if resource.was_submitted?
    .alert.alert-success.mb-4
      This #{cpd_audit_label} was submitted on #{resource.submitted_at.strftime('%F')}

  - if resource.missing_info?
    = card do
      = render 'effective/cpd_audits/missing_info', cpd_audit: resource

  - if resource.was_submitted?
    %p
      The following #{cpd_audit_label} was successfully submitted at
      = succeed('.') do
        = resource.submitted_at.strftime('%F')

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

  = render 'effective/cpd_audits/summary', cpd_audit: resource

  .mb-4
    = collapse("Show #{cpd_audit_label}...", card_class: 'my-2') do
      = render 'effective/cpd_audits/cpd_audit', cpd_audit: resource

  = link_to "Return to Dashboard", return_to_dashboard_path, class: 'btn btn-lg btn-primary btn-block'

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
effective_cpd-1.7.1 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.7.0 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.6.5 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.6.4 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.6.3 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.6.2 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.6.1 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.6.0 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.5.1 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.5.0 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.4.8 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.4.7 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.4.6 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.4.5 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.4.4 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.4.3 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.4.2 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.4.1 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.4.0 app/views/effective/cpd_audits/submitted.haml
effective_cpd-1.3.7 app/views/effective/cpd_audits/submitted.haml