%= stylesheet_link_tag "pages/admin" %> <% if Dir.glob(Rails.root.join("app/assets/stylesheets/admin.*")).any? %> <%= stylesheet_link_tag "admin" %> <% end %> <% if File.exist?(Rails.root.join("app/assets/builds/admin.js")) %> <%= javascript_include_tag("admin", defer: true) %> <% else %> <%= javascript_include_tag("pages_core/admin-dist", defer: true) %> <% if Dir.glob(Rails.root.join("app/assets/javascripts/admin.*")).any? %> <%= javascript_include_tag("admin", defer: true) %> <% end %> <% end %> <%= csrf_meta_tag %> <%= google_analytics_tags "UA-5468672-21" %>
" data-controller="<%= controller.class.to_s %>" data-action="<%= controller.action_name %>" data-locale="<%= @locale %>">