<%= stylesheet_link_tag "pages/admin" %> <%= stylesheet_link_tag "pages/admin/print", media: 'print' %> <% if Dir.glob(Rails.root.join("app/assets/stylesheets/admin.*")).any? %> <%= stylesheet_link_tag "admin" %> <% end %> <%= javascript_include_tag "pages/admin" %> <% if Dir.glob(Rails.root.join("app/assets/javascripts/admin.*")).any? %> <%= javascript_include_tag "admin" %> <% end %> <%= csrf_meta_tag %> <%= render partial: "layouts/admin/header" %> <% if content_for?(:sidebar) %> <% end %>
<% if @page_description || @content_tabs %>
class="with_content_tabs"<% end %>> <% if @page_description_links -%> <% end %>

<%= (@page_description || @page_title).html_safe %>

<% if @content_tabs %> <% end %>
<% end %> <%= yield %>
<%= render partial: "layouts/admin/analytics" %>