Sha256: d188421bc54766d8b682e74f7e8963bb7a175342c6993bdf4cd3084c4ddddafc
Contents?: true
Size: 773 Bytes
Versions: 2
Compression:
Stored size: 773 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, :submitted] - (steps - blacklist).each do |step| - cpd_audit.render_step = 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
effective_cpd-1.1.1 | app/views/effective/cpd_audits/_cpd_audit.html.haml |
effective_cpd-1.1.0 | app/views/effective/cpd_audits/_cpd_audit.html.haml |