Sha256: 72fe09d6d67d8ad61bbeb7507f8d7c448c1350641807af6dc92c4b079a249819

Contents?: true

Size: 740 Bytes

Versions: 1

Compression:

Stored size: 740 Bytes

Contents

= render('layout') do
  %h1= resource.cpd_cycle

  - raise('expected a submitted cpd_statement') unless resource.submitted_at.present?

  .alert.alert-warning.mb-4
    Successfully submitted on #{resource.submitted_at.strftime('%F')}.

  - if resource.cpd_cycle.all_steps_content.present?
    .mb-2= resource.cpd_cycle.all_steps_content.to_s

  - if resource.cpd_cycle.complete_content.present?
    .mb-2= resource.cpd_cycle.complete_content.to_s

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

  = render('effective/cpd_statements/cpd_statement', cpd_statement: resource)

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
effective_cpd-0.6.3 app/views/effective/cpd_statements/complete.html.haml