Sha256: 51dbe5ab0c331ee31c98c8a35b0ecaa46f7b4e3f1c6a388ecaf372ff60518a00

Contents?: true

Size: 998 Bytes

Versions: 6

Compression:

Stored size: 998 Bytes

Contents

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"),
                      path: edit_patient_transplants_recipient_workup_path(patient)

  = dropdown_btn_item enabled: policy(registration).new?,
                      title: t(".add_waitlist_registration"),
                      path: edit_patient_transplants_registration_path(patient)

  = dropdown_btn_item enabled: patient.has_ever_been_a_recipient?,
                      title: t(".add_recipient_operation"),
                      path: new_patient_transplants_recipient_operation_path(patient)

- unless patient.has_ever_been_a_recipient?
  = render "modality_missing_warning", message: t(".missing_modality_warning")

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta9 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.0.pre.beta4 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim