Sha256: 12e483eec36195598edff1c0e7b926475e192bd2497a5b4e62740bb09685c803

Contents?: true

Size: 1.8 KB

Versions: 78

Compression:

Stored size: 1.8 KB

Contents

article.recipient-operations
  header
    h2 Recipient Operations

    ul
      li = link_to "Add",
                   new_patient_transplants_recipient_operation_path(patient),
                   class: "button"

  table
    thead
      th
      th.col-width-date Op Date
      th Type
      th Recip Age
      th Donor Type
      th Donor Age
      th Recip CMV
      th Donor CMV
      th HLA Mismatch
      th Failure Date
      th Failure Cause
      th Followup
    tbody
      - recipient_operations.each do |operation|
        tr
          td= link_to "Edit",
                      edit_patient_transplants_recipient_operation_path(patient, operation)
          td= link_to patient_transplants_recipient_operation_path(patient, operation) do
              = l operation.performed_on
          td= operation.operation_type.text
          td= operation.recipient_age_at_operation
          td= operation.document.donor.type.try(:text)
          td= operation.document.donor.age
          td= operation.document.recipient.cmv_status.try(:text)
          td= operation.document.donor.cmv_status.try(:text)
          td= operation.document.donor.hla_mismatch
          - if operation.followup
            td= l operation.followup.transplant_failed_on
            td= operation.followup.transplant_failure_cause_description
            td
              = link_to "View",
                        patient_transplants_recipient_operation_followup_path(patient, operation)
              = pipe_separator
              = link_to "Update",
                        edit_patient_transplants_recipient_operation_followup_path(patient, operation)
          - else
            td
            td
            td
              - url = new_patient_transplants_recipient_operation_followup_path(patient, operation)
              = link_to "Enter details", url

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
renalware-core-2.0.166 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.165 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.164 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.163 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.162 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.161 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.160 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.159 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.158 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.157 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.156 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.155 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.153 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.152 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.151 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.149 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.148 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.147 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.146 app/views/renalware/transplants/recipient_operations/_list.html.slim
renalware-core-2.0.145 app/views/renalware/transplants/recipient_operations/_list.html.slim