Sha256: 64550ed8c4edb44c9bce3b756c21aec4c562210267be78fe6dacca8d3568fe02

Contents?: true

Size: 1.4 KB

Versions: 14

Compression:

Stored size: 1.4 KB

Contents

table.capd-regimes
  thead
    tr
      th.col-width-9
      th.col-width-date Started on
      th.col-width-date Ended on
      th.col-width-13 Treatment
      th= t("glucose_volume_low_strength", scope: "renalware.pd.regimes")
      th= t("glucose_volume_medium_strength", scope: "renalware.pd.regimes")
      th= t("glucose_volume_high_strength", scope: "renalware.pd.regimes")
      th.column-width-date Updated on

  tbody
    - capd_regimes.each do |r|
      tr valign="top" data-regime-id=r.id
        td
          - if r.current? && !current_user.has_role?(:read_only)
            = link_to "Update",
                      edit_patient_pd_regime_path(patient, r.id),
                      class: "update-pd-regime"
            = pipe_separator
          = link_to "View",
                    patient_pd_regime_path(patient, r.id),
                    class: "view-pd-regime"

        td valign="top"
          = l r.start_date

        td valign="top"
          = default_for_blank_date(r.end_date, "Pending")

        td valign="top"
          = r.treatment

        td valign="top"
          = "#{default_daily_glucose_average(r.glucose_volume_low_strength)} ml"

        td valign="top"
          = "#{default_daily_glucose_average(r.glucose_volume_medium_strength)} ml"

        td valign="top"
          = "#{default_daily_glucose_average(r.glucose_volume_high_strength)} ml"

        td
          = r.updated_at.to_date

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc13 app/views/renalware/pd/_capd_regimes.html.slim
renalware-core-2.0.0.pre.rc11 app/views/renalware/pd/_capd_regimes.html.slim
renalware-core-2.0.0.pre.rc10 app/views/renalware/pd/_capd_regimes.html.slim
renalware-core-2.0.0.pre.rc9 app/views/renalware/pd/_capd_regimes.html.slim
renalware-core-2.0.0.pre.rc8 app/views/renalware/pd/_capd_regimes.html.slim
renalware-core-2.0.0.pre.rc7 app/views/renalware/pd/_capd_regimes.html.slim
renalware-core-2.0.0.pre.rc6 app/views/renalware/pd/_capd_regimes.html.slim
renalware-core-2.0.0.pre.rc5 app/views/renalware/pd/_capd_regimes.html.slim
renalware-core-2.0.0.pre.rc4 app/views/renalware/pd/_capd_regimes.html.slim
renalware-core-2.0.0.pre.rc3 app/views/renalware/pd/_capd_regimes.html.slim
renalware-core-2.0.0.pre.rc1 app/views/renalware/pd/_capd_regimes.html.slim
renalware-core-2.0.0.pre.beta12 app/views/renalware/pd/_capd_regimes.html.slim
renalware-core-2.0.0.pre.beta11 app/views/renalware/pd/_capd_regimes.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/pd/_capd_regimes.html.slim