Sha256: baf11006841d821927d975ce4a5329351d2be8e6c3d11879311c49974f2ac302

Contents?: true

Size: 722 Bytes

Versions: 127

Compression:

Stored size: 722 Bytes

Contents

article.swabs
  header
    h2= t(".title")
    = link_to t(".add"),
              new_patient_swab_path(@patient),
              class: "button right"
  table
    thead
      tr
        th.col-width-tiny
        th.col-width-date-time= t(".date_time")
        th.col-width-tiny= t(".type")
        th.col-width-tiny= t(".result")
        th.col-width-tiny= t(".location")
        th= t(".notes")
    tbody
      - swabs.each do |swab|
        tr
          td= link_to("Edit", edit_patient_swab_path(patient, swab)) if policy(swab).edit?
          td= l(swab.date_time)
          td= swab.document.type&.text
          td= swab.document.result&.text
          td= swab.document.location
          td= swab.notes&.html_safe

Version data entries

127 entries across 127 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta10 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.0.pre.beta9 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.0.pre.beta4 app/views/renalware/events/swabs/_list.html.slim