diff --git a/app/views/administrate/application/_stylesheet.html.erb b/app/views/administrate/application/_stylesheet.html.erb new file mode 100644 index 0000000000..bbcacb62ee --- /dev/null +++ b/app/views/administrate/application/_stylesheet.html.erb @@ -0,0 +1,12 @@ +<%# +# Stylesheet Partial + +This partial imports the necessary javascript on each page. +By default, it includes the application CSS, +but each page can define additional CSS sources +by providing a `content_for(:stylesheet)` block. +%> + +<%= stylesheet_link_tag "administrate/application", media: "all" %> + +<%= yield :stylesheet %> diff --git a/app/views/layouts/administrate/application.html.erb b/app/views/layouts/administrate/application.html.erb index 5aa905d20c..cd259f09e3 100644 --- a/app/views/layouts/administrate/application.html.erb +++ b/app/views/layouts/administrate/application.html.erb @@ -19,7 +19,8 @@ By default, it renders: