Sha256: f68e6ff9a30a0a257ec305df9d6a34adef3cca15b7ddb0dac26d1dbea52ec501

Contents?: true

Size: 1.17 KB

Versions: 2

Compression:

Stored size: 1.17 KB

Contents

= content_for(:actions) do
  = link_to t("btn.edit"),
            edit_patient_transplants_donor_operation_path(patient, operation),
            class: "button"

= within_patient_layout(title: "Operation",
                        breadcrumbs: donor_summary_breadcrumb(patient)) do
  - return unless operation

  .edit_timestamp= render "renalware/shared/last_update", record: operation

  .document-view
    = render "renalware/shared/attributes_group",
        legend: "Operation", destination: "operation",
        models: { operation => [:performed_on,
                                :kidney_side,
                                :operating_surgeon,
                                :anaesthetist,
                                :nephrectomy_type,
                                :nephrectomy_type_other,
                                :donor_splenectomy_peri_or_post_operatively,
                                :notes] }

    - ["Diagnosis", "Outcome"].each do |group|
      = render "renalware/shared/documents/attributes_group",
          group: operation.document.public_send(group.parameterize(separator: "_")),
          legend: group, destination: group.parameterize(separator: "_")

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/views/renalware/transplants/donor_operations/show.html.slim
renalware-core-2.1.0 app/views/renalware/transplants/donor_operations/show.html.slim