<% if debug_scripts? %> <%= javascript_include_tag :defaults, "source/dojo/dojo", 'source/helpsys/helpsys', "locales/ext-lang-#{I18n.locale}.js", "locales/#{I18n.locale}.js" %> <%= yield :head %> <% else %> <%= javascript_include_tag :defaults, "release/dojo/dojo", 'release/dojo/schedule', "locales/ext-lang-#{I18n.locale}.js", "locales/#{I18n.locale}.js" %> <%= yield :head %> <% end %> <%= csrf_meta_tag %>