summaryrefslogtreecommitdiff
path: root/app/views/layouts/_page.html.haml
blob: b7df11681d33ab4de2dcde879d056c43b11cee6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.page-with-sidebar{ class: page_gutter_class }
  - if defined?(nav) && nav
    .layout-nav
      .container-fluid
        = render "layouts/nav/#{nav}"
  - if content_for?(:sub_nav)
    = yield :sub_nav
  .content-wrapper{ class: layout_nav_class }
    .alert-wrapper
      = render "layouts/broadcast"
      = render "layouts/flash"
      = yield :flash_message
    %div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
      .content{ id: "content-body" }
        = yield