%= stylesheet_link_tag '/stylesheets/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 BrighterPlanet.layout.include_application_stylesheet? %> <%= stylesheet_link_tag "application" %> <% end %> <% unless BrighterPlanet.layout.asset_pipeline_probably_working? %> <%= 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 %> <% end %> <% if BrighterPlanet.layout.include_application_javascript? %> <%= 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 %>