Sha256: c61f0b168492bc7ff4544c04b9e926e3fa10345351c4150c8ea4c08453a27051

Contents?: true

Size: 1.01 KB

Versions: 9

Compression:

Stored size: 1.01 KB

Contents

= wizard_card(cpd_audit_review) do
  %table.table.table-hover
    %thead
      %th Responses submitted by #{cpd_audit_review.cpd_audit.name}
      %th Review by #{cpd_audit_review.name}
    %tbody
      - cpd_audit_level_section.cpd_audit_level_questions.each_with_index do |cpd_audit_level_question, index|
        - cpd_audit_response = cpd_audit_review.cpd_audit.cpd_audit_response(cpd_audit_level_question)
        - next if cpd_audit_response.new_record?

        - cpd_audit_review_item = cpd_audit_review.cpd_audit_review_item(cpd_audit_response)

        %tr
          %td
            .mb-3= render('effective/cpd_audit_level_questions/cpd_audit_level_question', cpd_audit_level_question: cpd_audit_level_question)

            %p
              %strong Auditee Response:

            .mb-3= render('effective/cpd_audit_responses/cpd_audit_response', cpd_audit_response: cpd_audit_response)

          %td
            = render('effective/cpd_audit_review_items/cpd_audit_review_item', cpd_audit_review_item: cpd_audit_review_item)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
effective_cpd-1.2.4 app/views/effective/cpd_audit_reviews/_cpd_audit_level_section.html.haml
effective_cpd-1.2.3 app/views/effective/cpd_audit_reviews/_cpd_audit_level_section.html.haml
effective_cpd-1.2.2 app/views/effective/cpd_audit_reviews/_cpd_audit_level_section.html.haml
effective_cpd-1.2.1 app/views/effective/cpd_audit_reviews/_cpd_audit_level_section.html.haml
effective_cpd-1.2.0 app/views/effective/cpd_audit_reviews/_cpd_audit_level_section.html.haml
effective_cpd-1.1.3 app/views/effective/cpd_audit_reviews/_cpd_audit_level_section.html.haml
effective_cpd-1.1.2 app/views/effective/cpd_audit_reviews/_cpd_audit_level_section.html.haml
effective_cpd-1.1.1 app/views/effective/cpd_audit_reviews/_cpd_audit_level_section.html.haml
effective_cpd-1.1.0 app/views/effective/cpd_audit_reviews/_cpd_audit_level_section.html.haml