Sha256: 6df0e313245f119eb96a4390105d099e2169df65f81748153a114f7297d130b2

Contents?: true

Size: 736 Bytes

Versions: 46

Compression:

Stored size: 736 Bytes

Contents

.effective-cpd-audit
  = render('effective/cpd_audits/summary', cpd_audit: cpd_audit)

  - steps = cpd_audit.required_steps.select { |step| cpd_audit.has_completed_step?(step) }
  - blacklist = [:start, :information, :instructions, :waiting, :questionnaire, :submit, :complete]

  - (steps - blacklist).each do |step|
    - if cpd_audit.dynamic_wizard_steps.keys.include?(step)
      - cpd_audit_level_section = cpd_audit.cpd_audit_level_section(step) || raise("no cpd audit section for #{step}")
      = render("effective/cpd_audits/cpd_audit_level_section", cpd_audit: cpd_audit, step: step, cpd_audit_level_section: cpd_audit_level_section)
    - else
      = render("effective/cpd_audits/#{step}", cpd_audit: cpd_audit, step: step)

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
effective_cpd-0.1.5 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.1.4 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.1.3 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.1.2 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.1.1 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.1 app/views/effective/cpd_audits/_cpd_audit.html.haml