2017-12-08 16:19:01 -05:00
|
|
|
.layout-page{ class: page_with_sidebar_class }
|
2017-09-06 06:58:24 -04:00
|
|
|
- if defined?(nav) && nav
|
|
|
|
= render "layouts/nav/sidebar/#{nav}"
|
2018-02-03 03:03:36 -05:00
|
|
|
.content-wrapper{ class: "#{@content_wrapper_class}" }
|
2017-12-06 08:02:56 -05:00
|
|
|
= render 'shared/outdated_browser'
|
2017-09-06 06:58:24 -04:00
|
|
|
.mobile-overlay
|
2016-12-16 15:30:28 -05:00
|
|
|
.alert-wrapper
|
|
|
|
= render "layouts/broadcast"
|
2018-03-16 08:19:46 -04:00
|
|
|
= render 'layouts/header/read_only_banner'
|
2016-12-16 15:30:28 -05:00
|
|
|
= yield :flash_message
|
2018-09-07 10:32:28 -04:00
|
|
|
= render "shared/ping_consent"
|
2017-09-06 06:58:24 -04:00
|
|
|
- unless @hide_breadcrumbs
|
|
|
|
= render "layouts/nav/breadcrumbs"
|
|
|
|
= render "layouts/flash"
|
2018-10-06 10:21:38 -04:00
|
|
|
.d-flex
|
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
|