%= stylesheet_link_tag "admin", :media => "all" %>
<%= favicon_link_tag %>
<%= csrf_meta_tag %>
<% # This line ensures javascript code can access the current locale from Rails %>
<%= javascript_include_tag "admin" %>
<% # the twitter typeahead javascript library needs all typeahead form fields to be present in DOM. this is an ugly hack %>
<% if controller.controller_name == 'pages' %>
<%= javascript_include_tag 'admin/pages' %>
<% end %>