%= stylesheet_link_tag 'fonts' %> <%= stylesheet_link_tag brighter_planet_layout_cdn_url("/stylesheets/brighter_planet.css") %> <%= stylesheet_link_tag brighter_planet_layout_cdn_url("/stylesheets/idle.css") %> <% if File.exist? File.join(::BrighterPlanet.layout.rails_root, 'public', 'stylesheets', 'application.css') %> <%= stylesheet_link_tag "application" %> <% end %> <%= javascript_include_tag brighter_planet_layout_cdn_url("/javascripts/prototype.rails-#{Rails::VERSION::STRING}.js") %> <%= javascript_include_tag brighter_planet_layout_cdn_url("/javascripts/effects.js") %> <%= javascript_include_tag brighter_planet_layout_cdn_url("/javascripts/dragdrop.js") %> <%= javascript_include_tag brighter_planet_layout_cdn_url("/javascripts/controls.js") %> <% if ::Rails::VERSION::MAJOR >= 3 %> <%= javascript_include_tag brighter_planet_layout_cdn_url("/javascripts/rails.rails-#{Rails::VERSION::STRING}.js") %> <% end %> <% if File.exist? File.join(::BrighterPlanet.layout.rails_root, 'public', 'javascripts', 'application.js') %> <%= javascript_include_tag "application" %> <% end %> <%= csrf_meta_tag if ::Rails::VERSION::MAJOR >= 3 %> <%= render_or_nothing :partial => 'layouts/head' %> <%= yield :head %>
<%= " id=\"#{ @bodyid }\"".html_safe if @bodyid %>> <%= render :partial => 'layouts/google_analytics' %> <%= render :partial => 'layouts/header' %> <%= render_or_nothing :partial => 'layouts/top' %> <%= yield :top %>