gitlab-org--gitlab-foss/app/views/layouts/_page.html.haml
Annabel Dunstone Gray 5331225005 Revert "Merge branch '27934-left-align-nav' into 'master'"
This reverts merge request !9338
2017-02-21 19:35:08 +00:00

14 lines
472 B
Text

.page-with-sidebar{ class: page_gutter_class }
- if defined?(nav) && nav
.layout-nav
.container-fluid
= render "layouts/nav/#{nav}"
.content-wrapper{ class: "#{layout_nav_class}" }
= yield :sub_nav
.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