Sha256: 20ce9538b402ac168ffe1b15c73c7b63675c6664cabc46a5c0e0aa0d1e75aa84
Contents?: true
Size: 1.78 KB
Versions: 6
Compression:
Stored size: 1.78 KB
Contents
article 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
6 entries across 6 versions & 1 rubygems