Sha256: bd63cd823ed47125f4f413380c7ecda1dc00687dd32e0adcfc85d39dae39c428
Contents?: true
Size: 1.89 KB
Versions: 50
Compression:
Stored size: 1.89 KB
Contents
= link_to(patient_pd_mdm_path(patient), class: "button with-icon secondary") do i.fa.fa-group = t(".mdm") = blank_separator = blank_separator a.button.dropdown(href="#" data-dropdown="pd-options" aria-controls="pd-options" aria-expanded="false") | Add... br ul.f-dropdown#pd-options(data-dropdown-content aria-hidden="true") - patient_on_pd = patient.has_ever_been_on_pd? = dropdown_btn_item title: t(".add_pd_assessment"), url: new_patient_pd_assessment_path(patient) = dropdown_btn_item title: t(".add_pd_training_session"), url: new_patient_pd_training_session_path(patient) = dropdown_btn_item enabled: patient_on_pd && policy(Renalware::PD::CAPDRegime).new?, title: t(".add_capd_regime"), url: new_patient_pd_regime_path(patient, type: "PD::CAPDRegime") = dropdown_btn_item enabled: patient_on_pd && policy(Renalware::PD::APDRegime).new?, title: t(".add_apd_regime"), url: new_patient_pd_regime_path(patient, type: "PD::APDRegime") = dropdown_btn_item enabled: patient_on_pd && policy(Renalware::PD::PeritonitisEpisode).new?, title: t(".add_peritonitis_episode"), url: new_patient_pd_peritonitis_episode_path(patient) = dropdown_btn_item enabled: patient_on_pd && policy(Renalware::PD::ExitSiteInfection).new?, title: t(".add_exit_site_infection"), url: new_patient_pd_exit_site_infection_path(patient) = dropdown_btn_item enabled: patient_on_pd && policy(Renalware::PD::PETAdequacyResult).new?, title: t(".add_pet_adequacy"), url: new_patient_pd_pet_adequacy_result_path(patient) - unless patient_on_pd = render "modality_missing_warning", message: t(".missing_modality_warning")
Version data entries
50 entries across 50 versions & 1 rubygems