Sha256: e87ac348b7cfae657b547f64982a784e566c61280653fbd6855431c7da3a7be7
Contents?: true
Size: 1.29 KB
Versions: 42
Compression:
Stored size: 1.29 KB
Contents
- if patient.has_ever_been_a_recipient? = link_to(patient_transplants_mdm_path(patient), class: "button with-icon secondary") do i.fa.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.has_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.has_ever_been_a_recipient? = render "modality_missing_warning", message: t(".missing_modality_warning")
Version data entries
42 entries across 42 versions & 1 rubygems