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.82 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.81 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.80 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.79 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.78 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.77 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.76 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.75 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.74 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.73 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.72 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.71 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.70 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.69 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.68 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.67 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.64 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.63 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.62 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.61 app/views/renalware/events/swabs/_list.html.slim