Sha256: 8a41488a07386652b3dbc8093d12609b4ea89ade900cb628bf7851f8c9319472
Contents?: true
Size: 1.03 KB
Versions: 2
Compression:
Stored size: 1.03 KB
Contents
<%= content_for :js do %> <%= javascript_include_tag "caboose/application" %> <script>window.loggedIn = <%= logged_in?.to_json %></script> <% Caboose::javascripts.each do |js| %><%= javascript_include_tag(js) %><% end %> <% @page.linked_resources_map[:js].each do |r| %><%= javascript_include_tag r %><% end %> <%= yield :caboose_js %> <% end %> <%= content_for :css do %> <%= stylesheet_link_tag('caboose/application') %> <% Caboose::stylesheets.each do |css| %><%= stylesheet_link_tag(css) %><% end %> <% @page.linked_resources_map[:css].each do |r| %><%= stylesheet_link_tag r %><% end %> <%= yield :caboose_css %> <% end %> <% if yield && yield.strip.length > 0 %><%= yield %><% elsif !@page.nil? && @page.title != 'Access Denied' @page.top_level_blocks.each do |b| %><%= raw b.render(b, { :modal => false, :empty_text => '', :editing => defined?(@editing) ? @editing : false, :css => yield(:css), :js => yield(:js), :csrf_meta_tags => csrf_meta_tags }) %><% end end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
caboose-cms-0.4.5 | app/views/layouts/caboose/application.html.erb |
caboose-cms-0.4.4 | app/views/layouts/caboose/application.html.erb |