Sha256: d05fb548b833d268ec935d64a60c6f24dbb6cc9762dd956a48dd28630afef8b0
Contents?: true
Size: 1.28 KB
Versions: 5
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.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.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
5 entries across 5 versions & 1 rubygems