Sha256: 5e8831dc80a12efb8e7197c920c1cf08bec825b6dc4a9d0e8ae81a3b4f268088
Contents?: true
Size: 1.28 KB
Versions: 114
Compression:
Stored size: 1.28 KB
Contents
- if patient.ever_been_a_recipient? = link_to(patient_transplants_mdm_path(patient), class: "button with-icon secondary") do i.fas.fa-group = t(".mdm") a.button.dropdown(href="#" data-dropdown="tx-recip-options" aria-controls="tx-recip-options" aria-expanded="false") | Add br ul.f-dropdown#tx-recip-options(data-dropdown-content aria-hidden="true") = dropdown_btn_item enabled: policy(recipient_workup).new?, title: t(".add_recipient_workup"), url: edit_patient_transplants_recipient_workup_path(patient) = dropdown_btn_item enabled: policy(registration).new?, title: t(".add_waitlist_registration"), url: edit_patient_transplants_registration_path(patient) = dropdown_btn_item enabled: patient.ever_been_a_recipient?, title: t(".add_recipient_operation"), url: new_patient_transplants_recipient_operation_path(patient) = dropdown_btn_item enabled: true, title: t(".add_investigation"), url: new_patient_investigation_path(patient) - unless patient.ever_been_a_recipient? = render "modality_missing_warning", message: t(".missing_modality_warning")
Version data entries
114 entries across 114 versions & 1 rubygems