<% if flash[:error] || flash[:notice] %>
<% end %>
<%= yield %>
<%= semantic_flash %>
"> <%= csrf_meta_tags %> <%= stylesheet_link_tag "application", :media => "all" %> <%= stylesheet_link_tag params[:controller], :media => 'all' if Rails.application.assets.find_asset("#{params[:controller]}.css") %> <%= javascript_include_tag "application" %> <%= javascript_include_tag params[:controller] if Rails.application.assets.find_asset("#{params[:controller]}.js") %> <%= javascript_include_tag "#{params[:controller]}/#{params[:action]}" if Rails.application.assets.find_asset("#{params[:controller]}/#{params[:action]}.js") %> <%= yield(:head) %> <%= yield(:css) %>