Sha256: c334d2ae92e412c35c027886c94d4a0752b759e5007997e4b0bfee60f95c3855
Contents?: true
Size: 946 Bytes
Versions: 3
Compression:
Stored size: 946 Bytes
Contents
= render('layout') do - cpd_audit = resource.cpd_audit %p #{cpd_audit.name} has submitted the following statements: - datatable = EffectiveCpdCompletedStatementsDatatable.new(user: cpd_audit.user, actions: false) - if datatable.blank?(self) %p %strong There are no completed CPD statements from #{cpd_audit.name}. - else = render_datatable(datatable, simple: true) %h2 All Statements %p Click to expand any statements - datatable.collection.sorted.each do |cpd_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 %hr = f.text_area :comments, label: 'Reviewer notes', hint: 'Not displayed to the auditee' = f.submit 'Save and Continue', center: true
Version data entries
3 entries across 3 versions & 1 rubygems