Sha256: 859929dc14a1ffcd5434a43c79e61338cf1055dcbe84c69333642c6ad42159c1

Contents?: true

Size: 1.15 KB

Versions: 28

Compression:

Stored size: 1.15 KB

Contents

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

  %ul
    - resource.cpd_audit_reviews.each do |cpd_audit_review|
      %li
        - if cpd_audit_review.anonymous?
          = cpd_audit_review.name
        - else
          #{cpd_audit_review.user} <#{mail_to(cpd_audit_review.user.email)}>

  - if resource.deadline_to_conflict_of_interest.present? && !resource.ignore_deadlines?
    %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: ''

    %p A new #{cpd_reviewer_label} will be selected if there is a conflict of interest.

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

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
effective_cpd-1.7.2 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.7.1 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.7.0 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.6.5 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.6.4 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.6.3 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.6.2 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.6.1 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.6.0 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.5.1 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.5.0 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.4.8 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.4.7 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.4.6 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.4.5 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.4.4 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.4.3 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.4.2 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.4.1 app/views/effective/cpd_audits/conflict.html.haml
effective_cpd-1.4.0 app/views/effective/cpd_audits/conflict.html.haml