Sha256: 10541dbcc06ac6fee7a4d5e310792fafbded978e62fc7c94d2f9e650325357e1

Contents?: true

Size: 378 Bytes

Versions: 83

Compression:

Stored size: 378 Bytes

Contents

.effective-cpd-statement
  = render('effective/cpd_statements/summary', cpd_statement: cpd_statement)

  - steps = cpd_statement.required_steps.select { |step| cpd_statement.has_completed_step?(step) }
  - blacklist = [:start, :submit, :complete]

  - (steps - blacklist).each do |step|
    = render("effective/cpd_statements/#{step}", cpd_statement: cpd_statement, step: step)

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
effective_cpd-1.7.2 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-1.7.1 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-1.7.0 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-1.6.5 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-1.6.4 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-1.6.3 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-1.6.2 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-1.6.1 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-1.6.0 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-1.5.1 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-1.5.0 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-1.4.8 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-1.4.7 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-1.4.6 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-1.4.5 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-1.4.4 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-1.4.3 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-1.4.2 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-1.4.1 app/views/effective/cpd_statements/_cpd_statement.html.haml
effective_cpd-0.6.9 app/views/effective/cpd_statements/_cpd_statement.html.haml