Sha256: f89b29acb473e20c36af8b12b5700b403bd94878d2288ee87985c65d1522fe57

Contents?: true

Size: 1.12 KB

Versions: 148

Compression:

Stored size: 1.12 KB

Contents

= content_for(:actions) do
  = link_to t("edit_record.link_title"),
            edit_patient_renal_profile_path(@patient),
            class: "button"

= within_patient_layout(title: "Renal Profile & Comorbidity Data") do
    .grid
      .row
        -
        - attrs = %i(esrf_on weight_at_esrf modality_at_esrf first_seen_on)
        - attrs.concat %i(prd_description comorbidities_updated_on)
        = render "renalware/shared/attributes_group",
                 legend: "Diagnosis & ESRF Info",
                 models: { profile => attrs },
                 width: "xlarge"

        = render "renalware/shared/documents/attributes_group",
                 group: profile.document.comorbidities,
                 legend: "Comorbidities",
                 width: "xxlarge"

        - profile.build_address_at_diagnosis if profile.address_at_diagnosis.blank?
        - attrs = %i(name street_1 street_2 street_3 town county postcode country)
        = render "renalware/shared/attributes_group",
                 legend: "Address at ESRF Date",
                 models: { profile.address_at_diagnosis => attrs },
                 width: "xlarge"

Version data entries

148 entries across 148 versions & 1 rubygems

Version Path
renalware-core-2.0.149 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.148 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.147 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.146 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.145 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.144 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.143 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.142 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.141 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.140 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.139 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.138 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.137 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.136 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.135 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.134 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.133 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.132 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.131 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.130 app/views/renalware/renal/profiles/show.html.slim