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.6.9 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-1.0.0 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.6.8 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.6.7 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.6.6 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.6.5 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.6.4 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.6.3 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.6.2 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.6.1 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.6.0 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.5.4 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.5.3 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.5.2 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.5.1 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.5.0 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.4.3 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.4.2 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.4.1 app/views/effective/cpd_audits/_cpd_audit.html.haml
effective_cpd-0.4.0 app/views/effective/cpd_audits/_cpd_audit.html.haml