Sha256: 91c34d6bef32ea412c8211f848d26692907d7d1ec33a77918f216dd9b5cf7492

Contents?: true

Size: 967 Bytes

Versions: 8

Compression:

Stored size: 967 Bytes

Contents

a.button.dropdown.with-icon(href="#"
                            data-dropdown="hd-prescription-options"
                            aria-controls="hd-prescription-options"
                            aria-expanded="false")
  i.fas.fa-capsules
  | Record HD Drugs

ul.f-dropdown#hd-prescription-options(data-dropdown-content aria-hidden="true")

  - if prescriptions_to_give_on_hd.empty?
    = dropdown_btn_item enabled: false,
                        title: "Patient has no drugs to be given on HD",
                        url: nil
  - else
    - prescriptions_to_give_on_hd.each do |prescription|
      = dropdown_btn_item title: prescription.drug_name,
                          url: renalware.new_hd_prescription_administration_path(prescription),
                          data: { "reveal-id" => "hd-prescription-administration-modal",
                          "reveal-ajax" => "true" }

= render "renalware/hd/prescription_administrations/dialog_placeholder"

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
renalware-core-2.0.148 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.147 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.146 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.145 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.144 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.143 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.142 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.141 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim