app/views/spree/admin/roles/edit.html.erb in spree_backend-3.0.10 vs app/views/spree/admin/roles/edit.html.erb in spree_backend-3.1.0.rc1
- old
+ new
@@ -1,8 +1,12 @@
<% content_for :page_title do %>
<%= Spree.t(:editing_resource, resource: Spree::Role.model_name.human) %>
<% end %>
+<% content_for :page_actions do %>
+ <%= back_to_list_button(Spree::Role.model_name.human, admin_roles_path) %>
+<% end %>
+
<%= form_for [:admin, @role] do |f| %>
<fieldset>
<%= render partial: 'form', locals: { f: f } %>
<%= render partial: 'spree/admin/shared/edit_resource_links' %>
</fieldset>