<%= 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 %> " data-controller="<%= controller.class.to_s %>" data-action="<%= controller.action_name %>" data-locale="<%= @locale %>">
<%= render partial: "layouts/admin/header" %>
<% if @page_description || @content_tabs %>
class="with_content_tabs"<% end %>> <% if @page_description_links -%> <% end %>

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

<% if @content_tabs %>
    <% @content_tabs.map do |t| %> <% end %>
<% end %>
<% end %> <%= yield %>
<% if content_for?(:sidebar) %> <% end %>
<%= render partial: "layouts/admin/analytics" %>