Sha256: a5cf28fb8d7d4e2d8d9ec8aec98601be0c97e703f2d0a0cf572ed1d83c478ba8

Contents?: true

Size: 982 Bytes

Versions: 19

Compression:

Stored size: 982 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, format: :html),
                          data: { "reveal-id" => "hd-prescription-administration-modal",
                          "reveal-ajax" => "true" }

= render "renalware/hd/prescription_administrations/dialog_placeholder"

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.1.0 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.167 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.166 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.165 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.164 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.163 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.162 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.161 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.160 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.159 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.158 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.157 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.156 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.155 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.153 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.152 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.151 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim
renalware-core-2.0.149 app/components/renalware/hd/administer_prescription_dropdown_component.html.slim