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.64 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.63 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.62 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.61 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.60 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.58 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.57 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.56 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.55 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.54 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.53 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.52 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.51 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.50 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.48 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.47 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.46 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.45 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.44 app/views/renalware/mdm/_prescriptions.html.slim
renalware-core-2.0.43 app/views/renalware/mdm/_prescriptions.html.slim