= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Adjustments' }

- content_for :page_title do
  %i.icon-arrow-right
  = Spree.t(:new_adjustment)

- content_for :page_actions do
  %li= button_link_to Spree.t(:back_to_adjustments_list), spree.admin_order_adjustments_url(@order), :icon => 'icon-arrow-left'

= render :partial => 'spree/shared/error_messages', :locals => { :target => @adjustment }

= form_for @adjustment, :url => admin_order_adjustments_path do |f|
  %fieldset.no-border-top
    = render :partial => 'form', :locals => { :f => f }
    .filter-actions.actions{"data-hook" => "buttons"}
      = button Spree.t(:continue), 'icon-arrow-right'
      %span.or= Spree.t(:or)
      = button_link_to Spree.t('actions.cancel'), admin_order_adjustments_url(@order), :icon => 'icon-remove'
