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

- old
+ new

@@ -1,11 +1,10 @@ <%= render partial: 'spree/admin/shared/order_tabs', locals: {current: 'Payments'} %> -<% content_for :page_title do %> - <i class="fa fa-arrow-right"></i> <%= link_to "#{Spree::Payment.model_name.human} #{@refund.payment.id}", admin_order_payment_path(@refund.payment.order, @refund.payment) %> - <i class="fa fa-arrow-right"></i> <%= Spree.t(:editing_refund) %> <%= @refund.id %> -<% end %> +<% admin_breadcrumb(link_to plural_resource_name(Spree::Payment), spree.admin_order_payments_path(@order)) %> +<% admin_breadcrumb(link_to "#{Spree::Payment.model_name.human} #{@refund.payment.id}", admin_order_payment_path(@refund.payment.order, @refund.payment)) %> +<% admin_breadcrumb("#{Spree.t(:editing_refund)} #{@refund.id}") %> <%= form_for [:admin, @refund.payment.order, @refund.payment, @refund] do |f| %> <fieldset class="no-border-top"> <div data-hook="admin_refund_form_fields" class="row"> <div class="alpha three columns"> @@ -21,10 +20,10 @@ </div> </div> </div> <div class="form-buttons filter-actions actions" data-hook="buttons"> - <%= button Spree.t('actions.save'), 'ok' %> - <%= button_link_to Spree.t('actions.cancel'), admin_order_payments_url(@refund.payment.order), icon: 'remove' %> + <%= button Spree.t('actions.save') %> + <%= button_link_to Spree.t('actions.cancel'), admin_order_payments_url(@refund.payment.order) %> </div> </fieldset> <% end %>