Sha256: 796223852d77519f16a667b1462e8547097211d45df3e9bbf7e08a2035e98440

Contents?: true

Size: 1.03 KB

Versions: 74

Compression:

Stored size: 1.03 KB

Contents

article.pd_assessments
  header
    h2= t(".title")

  table
    thead
      tr
        th.col-width-tiny
        th.col-width-date-time= t(".date_time")
        th.col-width-date-time= t(".assessed_on")
        th.col-width-date-time= t(".assessor")
        th.col-width-tiny= t(".had_home_visit")
        th.col-width-date= t(".home_visit_on")
        th
    tbody
      - assessments.each do |assessment|
        - document = assessment.document
        tr
          td
            - if policy(assessment).edit?
              = link_to("Edit", edit_patient_pd_assessment_path(patient, assessment))
              = pipe_separator
            - if policy(assessment).show?
              = link_to("View", [patient, assessment])
          td= l(assessment.created_at)
          td= document.assessed_on.is_a?(Date) ? l(document.assessed_on) : document.assessed_on
          td= document.assessor
          td= document.had_home_visit&.text
          td= document.home_visit_on.is_a?(Date) ? l(document.home_visit_on) : document.home_visit_on
          td

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
renalware-core-2.0.124 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.123 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.121 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.120 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.119 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.118 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.117 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.116 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.115 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.113 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.112 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.111 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.110 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.109 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.108 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.106 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.105 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.104 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.103 app/views/renalware/pd/assessments/_list.html.slim
renalware-core-2.0.102 app/views/renalware/pd/assessments/_list.html.slim