Sha256: 0f06b51fea9dc5e3703d4c438d1558e1f2e35cef70af9a87753b595e4ba442b9

Contents?: true

Size: 1.4 KB

Versions: 1

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

1 entries across 1 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta12 app/views/renalware/layouts/_patient.html.slim