app/views/spree/admin/promotions/edit.html.erb in solidus_backend-1.3.2 vs app/views/spree/admin/promotions/edit.html.erb in solidus_backend-1.4.0.beta1

- old
+ new

@@ -1,13 +1,12 @@ -<% content_for :page_title do %> - <%= Spree.t(:editing_promotion) %> -<% end %> +<% admin_breadcrumb(link_to plural_resource_name(Spree::Promotion), spree.admin_promotions_path) %> +<% admin_breadcrumb(@promotion.name) %> + <% content_for :page_actions do %> <li> - <%= button_link_to Spree.t(:back_to_promotions_list), admin_promotions_path, :icon => 'arrow-left' %> <% if can?(:display, Spree::PromotionCode) %> - <%= button_link_to Spree.t(:download_promotion_code_list), admin_promotion_promotion_codes_path(promotion_id: @promotion.id, format: :csv), :icon => 'arrow-down' %> + <%= button_link_to Spree.t(:download_promotion_code_list), admin_promotion_promotion_codes_path(promotion_id: @promotion.id, format: :csv) %> <% end %> </li> <% end %> <%= form_for @promotion, :url => object_url, :method => :put do |f| %>