<% content_for :page_title do %> <%= Spree.t(:editing_resource, resource: Spree::Store.model_name.human) %> <% end %> <% content_for :page_actions do %> <%= button_link_to Spree.t(:back_to_resource_list, resource: Spree::Store.model_name.human), spree.admin_stores_path, class: 'btn-primary', icon: 'arrow-left' %> <% end %> <%= render 'settings' %>
<%= render 'fields' %>
<%= form_for [:admin, @store] do |f| %> <%= render 'form_fields', f: f %>
<%= button Spree.t(:update), 'update' %> <%= Spree.t(:or) %> <%= button_link_to Spree.t(:cancel), spree.edit_admin_store_url(@store), icon: 'remove' %>
<% end %>