Sha256: baa04f7748ff3897c4ef5d90776266a74c711870b5c6df63ed7a5cd8507910f5

Contents?: true

Size: 1.12 KB

Versions: 16

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
    .mgrid
      .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

16 entries across 16 versions & 1 rubygems

Version Path
renalware-core-2.0.167 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.166 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.165 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.164 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.163 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.162 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.161 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.160 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.159 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.158 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.157 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.156 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.155 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.153 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.152 app/views/renalware/renal/profiles/show.html.slim
renalware-core-2.0.151 app/views/renalware/renal/profiles/show.html.slim