Sha256: eb291c75ca22200a56373dc852fc903683167516711180a012c40c4c39dbe5b9

Contents?: true

Size: 773 Bytes

Versions: 6

Compression:

Stored size: 773 Bytes

Contents

= render('layout') do
  .mb-3
    = collapse('Show audit...', card_class: '') do
      .mt-4= render('effective/cpd_audits/cpd_audit', cpd_audit: resource.cpd_audit)

  %p Please provide your final recommendation on #{resource.cpd_audit.name}:

  = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
    = f.hidden_field :current_step

    = f.text_area :feedback, label: 'Feedback for the auditee'

    - recommendations = resource.cpd_audit_level.recommendations

    - if recommendations.length > 3
      = f.select :recommendation, recommendations
    - else
      = f.radios :recommendation, recommendations, inline: true

    %hr
    = f.text_area :comments, label: 'Reviewer comments'

    = f.submit 'Save and Continue', center: true

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
effective_cpd-1.2.1 app/views/effective/cpd_audit_reviews/recommendation.html.haml
effective_cpd-1.2.0 app/views/effective/cpd_audit_reviews/recommendation.html.haml
effective_cpd-1.1.3 app/views/effective/cpd_audit_reviews/recommendation.html.haml
effective_cpd-1.1.2 app/views/effective/cpd_audit_reviews/recommendation.html.haml
effective_cpd-1.1.1 app/views/effective/cpd_audit_reviews/recommendation.html.haml
effective_cpd-1.1.0 app/views/effective/cpd_audit_reviews/recommendation.html.haml