Sha256: 47947b6235125683850499efe7f77b11ace3838c16531fd10c98dd161d0912b8

Contents?: true

Size: 927 Bytes

Versions: 3

Compression:

Stored size: 927 Bytes

Contents

= render('layout') do
  %p You have been selected to conduct a #{resource.cpd_audit.cpd_audit_level} audit with the following auditee:

  %ul
    %li
      - if resource.anonymous?
        = resource.cpd_audit.name
      - else
        #{resource.cpd_audit.user} <#{mail_to(resource.cpd_audit.user.email)}>

  %p The deadline to declare a conflict of interest is: #{resource.deadline_to_conflict_of_interest.strftime('%F')}.

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

    = f.radios :conflict_of_interest, cpd_audit_conflict_of_interest_collection,
      inline: true, required: true

    = f.show_if :conflict_of_interest, true do
      = f.text_area :conflict_of_interest_reason, required: true

    %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

Version Path
effective_cpd-1.2.4 app/views/effective/cpd_audit_reviews/conflict.html.haml
effective_cpd-1.2.3 app/views/effective/cpd_audit_reviews/conflict.html.haml
effective_cpd-1.2.2 app/views/effective/cpd_audit_reviews/conflict.html.haml