<% if Rails::version < '3.1' %> <%= javascript_include_tag :defaults, "rails.validations" %> <%= csrf_meta_tag %> <%= stylesheet_link_tag "#{InsteddRails.url}/theme/stylesheets/theme.css" %> <%= javascript_include_tag "#{InsteddRails.url}/theme/javascripts/theme.js" %> <% else %> <%= javascript_include_tag "application" %> <%= stylesheet_link_tag "#{InsteddRails.url}/theme/stylesheets/theme.css" %> <%= javascript_include_tag "#{InsteddRails.url}/theme/javascripts/theme.js" %> <%= csrf_meta_tags %> <% end %> <% 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 %>