BigW Consortium Gitlab

application.html.haml 509 Bytes
Newer Older
Dmitriy Zaporozhets committed
1
!!! 5
2
%html{ lang: "en"}
3
  = render "layouts/head"
Fatih Acet committed
4
  %body{class: "#{user_application_theme}", data: {page: body_data_page, project: "#{@project.path if @project}", group: "#{@group.path if @group}"}}
5 6
    = Gon::Base.render_data

7
    -# Ideally this would be inside the head, but turbolinks only evaluates page-specific JS in the body.
8
    = yield :scripts_body_top
9

10
    = render "layouts/header/default", title: header_title
11
    = render 'layouts/page', sidebar: sidebar, nav: nav
12 13

    = yield :scripts_body