Sha256: 975e7fcb5b6450c5b40ecc2c8debb8afbe358fea50f6db083aa9a7709a0c4cff

Contents?: true

Size: 942 Bytes

Versions: 3

Compression:

Stored size: 942 Bytes

Contents

= render('layout') do
  %p You have been selected for #{resource.cpd_audit_level} audit and matched with:

  %ul
    - resource.cpd_audit_reviews.each do |cpd_audit_review|
      %li #{cpd_audit_review.user} <#{mail_to(cpd_audit_review.user.email)}>

  - if resource.deadline_to_conflict_of_interest.present?
    %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

    = f.show_if :conflict_of_interest, false do
      = f.hidden_field :conflict_of_interest_reason, value: ''

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
effective_cpd-0.3.1 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-0.3.0 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-0.2.1 app/views/effective/cpd_audits/conflict.html.haml