Sha256: 93f9a986a519dcc3cd9696fcf2c3917359315a2971f4dfefc0f25d91bb8e379c

Contents?: true

Size: 1.4 KB

Versions: 7

Compression:

Stored size: 1.4 KB

Contents

- content_for(:header) do
  = render "renalware/patients/header", patient: current_patient

- generate_page_title(local_assigns: local_assigns,
                      patient: current_patient)

.patient-container
  .patient-content.full-screenable
    .layout-wrapper
      = render "renalware/patients/mini_profile", patient: current_patient
      = render "renalware/patients/alerts/list", patient: current_patient
      .row.collapse
        - if local_assigns[:title].present?
          ul.page-heading.columns.small-12
            li
              h1
                = breadcrumbs_and_title(breadcrumbs: local_assigns[:breadcrumbs],
                                        title: local_assigns[:title])
            li.page-actions
              / Output any page-level actions
              = yield(:actions)

        - if content_for?(:page_navigation)
          .page-navigation= yield(:page_navigation)
        - else
          - unless local_assigns[:skip_top_navigation].present?
            - partial = local_assigns[:navigation_partial] || "navigation"

            / Be sure to pass on any locals passed to us, along with the patient
            / if not already provided
            = render_if_exists partial, local_assigns.reverse_merge!(patient: current_patient)
      .row
        = yield

  nav.patient-side-nav.full-screenable
    .layout-wrapper
      = render "renalware/patients/side_menu", patient: current_patient

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc8 app/views/renalware/layouts/_patient.html.slim
renalware-core-2.0.0.pre.rc7 app/views/renalware/layouts/_patient.html.slim
renalware-core-2.0.0.pre.rc6 app/views/renalware/layouts/_patient.html.slim
renalware-core-2.0.0.pre.rc5 app/views/renalware/layouts/_patient.html.slim
renalware-core-2.0.0.pre.rc4 app/views/renalware/layouts/_patient.html.slim
renalware-core-2.0.0.pre.rc3 app/views/renalware/layouts/_patient.html.slim
renalware-core-2.0.0.pre.rc1 app/views/renalware/layouts/_patient.html.slim