Sha256: 6523c8b3da194e57fc49c6e79615c13f3348d3f2d1f174fe6200e64c805ef727

Contents?: true

Size: 1.14 KB

Versions: 45

Compression:

Stored size: 1.14 KB

Contents

article
  header
    h2= t(".title")
    .supplemental
      span= "#{mdm.current_prescriptions.length} of #{mdm.patient.summary.prescriptions_count}"
      = link_to t(".view_all"),
                patient_prescriptions_path(mdm.patient),
                class: "button secondary"

      = link_to "Toggle",
                "#prescriptions",
                class: "button secondary",
                data: { behaviour: "css-toggler" }

  #prescriptions.expandable
    - if local_assigns[:with_esa] == true

      ul.tab-strip(data-tab)
        li.tab-title.active= link_to "Current", "#current"
        li.tab-title= link_to "EPO History", "#epo-history"

      .tabs-content
        #current.content.active
          = render "renalware/mdm/prescriptions/table",
                   prescriptions: mdm.current_prescriptions,
                   show_administer_on_hd: true
        #epo-history.content
          = render "renalware/mdm/prescriptions/table",
                   prescriptions: mdm.esa_prescriptions,
                   show_terminated_on: true,
                   show_administer_on_hd: true
    - else
      = render "current_prescriptions", mdm: mdm

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
renalware-core-2.0.42 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.41 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.40 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.39 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.38 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.37 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.36 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.35 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.34 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.33 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.32 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.31 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.30 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.28 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.27 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.26 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.25 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.24 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.23 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.22 app/views/renalware/mdm/_prescriptions.html.slim