2012-02-09 02:59:04 -05:00
|
|
|
!!! 5
|
2016-07-22 05:59:26 -04:00
|
|
|
%html{ lang: "en", class: "#{page_class}" }
|
2015-04-30 13:06:18 -04:00
|
|
|
= render "layouts/head"
|
2016-06-08 21:21:35 -04:00
|
|
|
%body{class: "#{user_application_theme}", data: {page: body_data_page, project: "#{@project.path if @project}", group: "#{@group.path if @group}"}}
|
2016-06-06 00:42:39 -04:00
|
|
|
= Gon::Base.render_data
|
|
|
|
|
2015-06-05 15:53:57 -04:00
|
|
|
-# Ideally this would be inside the head, but turbolinks only evaluates page-specific JS in the body.
|
2015-06-09 06:01:18 -04:00
|
|
|
= yield :scripts_body_top
|
2015-06-05 15:53:57 -04:00
|
|
|
|
2016-03-01 13:31:52 -05:00
|
|
|
= render "layouts/header/default", title: header_title
|
2016-04-19 14:05:30 -04:00
|
|
|
= render 'layouts/page', sidebar: sidebar, nav: nav
|
2015-06-02 08:56:50 -04:00
|
|
|
|
|
|
|
= yield :scripts_body
|
2016-10-13 03:34:35 -04:00
|
|
|
= render "layouts/init_auto_complete" if @gfm_form
|