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.167 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.166 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.165 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.164 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.163 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.162 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.161 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.160 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.159 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.158 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.157 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.156 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.155 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.153 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.152 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.151 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.149 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.148 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.147 app/views/renalware/events/swabs/_list.html.slim
renalware-core-2.0.146 app/views/renalware/events/swabs/_list.html.slim