2017-12-08 21:19:01 +00:00
|
|
|
.layout-page{ class: page_with_sidebar_class }
|
2017-09-06 10:58:24 +00:00
|
|
|
- if defined?(nav) && nav
|
|
|
|
= render "layouts/nav/sidebar/#{nav}"
|
2018-02-03 08:03:36 +00:00
|
|
|
.content-wrapper{ class: "#{@content_wrapper_class}" }
|
2017-12-06 13:02:56 +00:00
|
|
|
= render 'shared/outdated_browser'
|
2017-09-06 10:58:24 +00:00
|
|
|
.mobile-overlay
|
2016-12-16 20:30:28 +00:00
|
|
|
.alert-wrapper
|
|
|
|
= render "layouts/broadcast"
|
2018-10-19 09:56:12 +00:00
|
|
|
= render "layouts/header/read_only_banner"
|
2016-12-16 20:30:28 +00:00
|
|
|
= yield :flash_message
|
2018-09-07 14:32:28 +00:00
|
|
|
= render "shared/ping_consent"
|
2017-09-06 10:58:24 +00:00
|
|
|
- unless @hide_breadcrumbs
|
|
|
|
= render "layouts/nav/breadcrumbs"
|
2018-10-19 09:56:12 +00:00
|
|
|
= render "layouts/flash", extra_flash_class: 'limit-container-width'
|
2018-10-06 14:21:38 +00:00
|
|
|
.d-flex
|
2016-07-22 09:59:26 +00:00
|
|
|
%div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
|
2016-11-17 14:12:20 +00:00
|
|
|
.content{ id: "content-body" }
|
2016-07-22 09:59:26 +00:00
|
|
|
= yield
|