2017-09-10 17:25:29 +05:30
|
|
|
.page-with-sidebar{ class: page_with_sidebar_class }
|
|
|
|
- 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-08-17 22:00:37 +05:30
|
|
|
.content-wrapper{ class: layout_nav_class }
|
2017-09-10 17:25:29 +05:30
|
|
|
- if show_new_nav?
|
|
|
|
.mobile-overlay
|
2017-08-17 22:00:37 +05:30
|
|
|
.alert-wrapper
|
|
|
|
= render "layouts/broadcast"
|
2017-09-10 17:25:29 +05:30
|
|
|
- if show_new_nav?
|
|
|
|
- if content_for?(:new_global_flash)
|
|
|
|
= yield :new_global_flash
|
|
|
|
- unless @hide_breadcrumbs
|
|
|
|
= render "layouts/nav/breadcrumbs"
|
2017-08-17 22:00:37 +05:30
|
|
|
= render "layouts/flash"
|
|
|
|
= yield :flash_message
|
2016-09-13 17:45:13 +05:30
|
|
|
%div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
|
2017-08-17 22:00:37 +05:30
|
|
|
.content{ id: "content-body" }
|
2016-09-13 17:45:13 +05:30
|
|
|
= yield
|