2017-07-31 04:07:51 -04:00
|
|
|
.page-with-sidebar{ class: page_with_sidebar_class }
|
2017-06-28 04:30:57 -04:00
|
|
|
- if show_new_nav?
|
|
|
|
- if defined?(nav) && nav
|
|
|
|
= render "layouts/nav/#{nav}"
|
|
|
|
- else
|
|
|
|
- if defined?(nav) && nav
|
|
|
|
.layout-nav
|
|
|
|
.container-fluid
|
|
|
|
= render "layouts/nav/#{nav}"
|
|
|
|
- if content_for?(:sub_nav)
|
|
|
|
= yield :sub_nav
|
2017-07-31 04:07:51 -04:00
|
|
|
.content-wrapper{ class: layout_nav_class }
|
2017-07-18 12:40:42 -04:00
|
|
|
- if show_new_nav?
|
|
|
|
.mobile-overlay
|
2016-12-16 15:30:28 -05:00
|
|
|
.alert-wrapper
|
|
|
|
= render "layouts/broadcast"
|
2017-07-07 12:18:57 -04:00
|
|
|
- if show_new_nav?
|
|
|
|
- if content_for?(:new_global_flash)
|
|
|
|
= yield :new_global_flash
|
2017-07-07 16:42:41 -04:00
|
|
|
- unless @hide_breadcrumbs
|
|
|
|
= render "layouts/nav/breadcrumbs"
|
2016-12-16 15:30:28 -05:00
|
|
|
= render "layouts/flash"
|
|
|
|
= yield :flash_message
|
2016-07-22 05:59:26 -04:00
|
|
|
%div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
|
2016-11-17 09:12:20 -05:00
|
|
|
.content{ id: "content-body" }
|
2016-07-22 05:59:26 -04:00
|
|
|
= yield
|