Skip to content

Commit

Permalink
Change to new ruby hash syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
HugsDaniel committed Sep 20, 2018
1 parent 56c1b07 commit 0d7e24e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/views/spree/admin/shipping_methods/new.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
= Spree.t(:new_shipping_method)
- content_for :page_actions do
%li
= button_link_to Spree.t(:back_to_shipping_methods_list), spree.admin_shipping_methods_path, :icon => 'icon-arrow-left'
= 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 }
= 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 }
= render partial: 'form', locals: { f: f }
.one.column  
= render :partial => 'spree/admin/shared/hubs_sidebar', :locals => { f: f, klass: :shipping_method }
= render partial: 'spree/admin/shared/hubs_sidebar', locals: { f: f, klass: :shipping_method }
.clear
%div
= render :partial => 'spree/admin/shared/new_resource_links'
= render partial: 'spree/admin/shared/new_resource_links'

0 comments on commit 0d7e24e

Please sign in to comment.