2012-02-09 02:59:04 -05:00
|
|
|
!!! 5
|
2012-08-10 18:07:50 -04:00
|
|
|
%html{ lang: "en"}
|
2015-04-30 13:06:18 -04:00
|
|
|
= render "layouts/head"
|
2015-06-05 15:53:57 -04:00
|
|
|
%body{class: "#{user_application_theme}", 'data-page' => body_data_page}
|
|
|
|
-# 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
|
|
|
|
2015-04-30 13:06:18 -04:00
|
|
|
- if current_user
|
2015-06-01 11:09:30 -04:00
|
|
|
= render "layouts/header/default", title: header_title
|
2015-04-30 13:06:18 -04:00
|
|
|
- else
|
2015-06-01 11:09:30 -04:00
|
|
|
= render "layouts/header/public", title: header_title
|
2015-04-30 13:06:18 -04:00
|
|
|
|
2015-05-01 04:39:11 -04:00
|
|
|
= render 'layouts/page', sidebar: sidebar
|
2015-06-02 08:56:50 -04:00
|
|
|
|
|
|
|
= yield :scripts_body
|