<%# # Application Layout This view template is used as the layout for every page that Administrate generates. By default, it renders: - Sidebar for navigation - Content for a search bar (if provided by a `content_for` block in a nested page) - Flashes - Links to stylesheets and Javascripts %> <%= content_for(:title) %> | <%= Rails.application.class.parent_name.titlecase %> <%= stylesheet_link_tag "administrate/application", media: "all" %> <%= stylesheet_link_tag "administrate/overrides", media: "all" %> <%= csrf_meta_tags %>
<%= content_for(:search) %> <%= render "flashes" -%> <%= yield %>
<%= render "javascript" %>