Sha256: 29e9ab902431079b9ed0b1ed827813aa53068cb2d395b820ce357f4794687268
Contents?: true
Size: 1.37 KB
Versions: 11
Compression:
Stored size: 1.37 KB
Contents
= render('layout') do - cpd_statement = resource.cpd_statement(step) - raise("no cpd statement for #{step}") if cpd_statement.blank? %h2 Review Statement .mb-3 = collapse("#{cpd_statement.to_s}...", card_class: 'mb-3') do = render('effective/cpd_statements/cpd_statement', cpd_statement: cpd_statement) = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f| = f.hidden_field :current_step %h2 Review Activities %p Please review the following activities: %table.table.table-hover.table-cpd-audit-review-statements %thead %th #{resource.cpd_audit.user}'s #{cpd_statement} %th #{resource.user}'s Review %tbody - cpd_statement.cpd_statement_activities.each do |cpd_statement_activity| - cpd_audit_review_item = resource.cpd_audit_review_item(cpd_statement_activity) %tr %td .mb-3 = render('/effective/cpd_statement_activities/cpd_statement_activity', cpd_statement_activity: cpd_statement_activity) %td = f.fields_for :cpd_audit_review_items, cpd_audit_review_item do |fi| = render('/effective/cpd_audit_review_items/fields', f: fi, cpd_audit_review: resource) %hr = f.text_area :comments, hint: "Not displayed to the #{cpd_auditee_label}" = f.submit 'Save and Continue', center: true
Version data entries
11 entries across 11 versions & 1 rubygems