Sha256: ec2dd7f528a869ce53e26dc40eff9ed985758298a20762a2aa8859115c42a884

Contents?: true

Size: 979 Bytes

Versions: 3

Compression:

Stored size: 979 Bytes

Contents

%head
  %meta{'http-equiv' => "Content-type", :content => "text/html; charset=utf-8"}
  %title= settings.title
  = csrf_meta_tag

  = stylesheet_link_tag 'comfy/admin/cms/application', 'data-turbolinks-track' => true
  = stylesheet_link_tag "cms/fortress/admin_overrides", 'data-turbolinks-track' => true

  - unless default_theme?
    = stylesheet_link_tag "cms/fortress/themes/#{ theme_name }"


  = javascript_include_tag 'comfy/admin/cms/application', 'data-turbolinks-track' => true
  = javascript_include_tag 'cms/fortress/media', 'data-turbolinks-track' => true

  - unless default_theme?
    = javascript_include_tag "cms/fortress/themes/#{ theme_name }"

  - if @site && @site.persisted?

    :javascript
      CMS.file_upload_path  = '#{comfy_admin_cms_site_files_path(@site)}';
      CMS.pages_path        = '#{comfy_admin_cms_site_pages_path(@site)}';
      CMS.locale            = '#{I18n.locale}';


  = yield :head

  = render 'comfy/admin/cms/partials/html_head'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cms-fortress-1.3.15 app/views/layouts/comfy/admin/cms/_head.html.haml
cms-fortress-1.3.14 app/views/layouts/comfy/admin/cms/_head.html.haml
cms-fortress-1.3.13 app/views/layouts/comfy/admin/cms/_head.html.haml