- content_for :page_title do
  = Spree.t(:editing_shipping_method)
- content_for :page_actions do
  %li
    = button_link_to t(:new), spree.new_admin_shipping_method_path, :icon => 'icon-plus'
  %li
    = button_link_to Spree.t(:back_to_shipping_methods_list), spree.admin_shipping_methods_path, :icon => 'icon-arrow-left'
%div
  = render :partial => 'spree/shared/error_messages', :locals => { :target => @shipping_method }
%div
  = form_for [:admin, @shipping_method] do |f|
    %fieldset.no-border-top
      = render :partial => 'form', :locals => { :f => f }
      .one.column &nbsp;
      = render :partial => 'spree/admin/shared/hubs_sidebar', :locals => { f: f, klass: :shipping_method }
      .clear
      %div
        = render :partial => 'spree/admin/shared/edit_resource_links'

- content_for :page_title do
  = Spree.t(:editing_shipping_method)
- content_for :page_actions do
  %li
    = button_link_to t(:new), spree.new_admin_shipping_method_path, icon: 'icon-plus'
  %li
    = button_link_to Spree.t(:back_to_shipping_methods_list), spree.admin_shipping_methods_path, icon: 'icon-arrow-left'
%div
  = render partial: 'spree/shared/error_messages', locals: { target: @shipping_method }
%div
  = form_for [:admin, @shipping_method] do |f|
    %fieldset.no-border-top
      = render partial: 'form', locals: { f: f }
      .one.column &nbsp;
      = render partial: 'spree/admin/shared/hubs_sidebar', locals: { f: f, klass: :shipping_method }
      .clear
      %div
        = render partial: 'spree/admin/shared/edit_resource_links'

Change to new ruby hash syntax
Change to new ruby hash syntax
