From 302a70fe5a981863a66014b184c6e8ccc657ecb2 Mon Sep 17 00:00:00 2001 From: Johan Bruning Date: Mon, 8 Oct 2012 22:43:10 +0200 Subject: [PATCH] Updated admin actions to be rendered like core actions --- app/views/spree/admin/pages/index.html.erb | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/app/views/spree/admin/pages/index.html.erb b/app/views/spree/admin/pages/index.html.erb index c20f1b1d..b199e3f9 100644 --- a/app/views/spree/admin/pages/index.html.erb +++ b/app/views/spree/admin/pages/index.html.erb @@ -1,13 +1,10 @@ -
- -
-
+<% content_for :page_actions do %> +
  • <%= button_link_to t("static_content.new_page"), new_object_url, :icon => 'icon-plus' %>
  • +<% end %> -

    <%=t("static_content.static_pages") %>

    +<% content_for :page_title do %> + <%= t("static_content.static_pages") %> +<% end %>