<% if Rails::version < '3.1' %> <%= javascript_include_tag :defaults, "rails.validations" %> <%= csrf_meta_tag %> <% else %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> <% end %> <%= stylesheet_link_tag "#{InsteddRails.url}/theme/stylesheets/theme.css" %> <%= javascript_include_tag "#{InsteddRails.url}/theme/javascripts/theme.js" %> <% if Rails::version < '3.1' %> <%= stylesheet_link_tag "/stylesheets/#{application_name.underscore}.css" %> <% else %> <%= stylesheet_link_tag "application" %> <% end %> <%= yield(:head) %> <%= render :partial =>"shared/analytics" %> <%= flash_message %>
<%= yield(:right_menu) %>
<%= yield(:content).presence or yield %>