app/views/spree/admin/stock_locations/edit.html.erb in spree_backend-3.1.14 vs app/views/spree/admin/stock_locations/edit.html.erb in spree_backend-3.2.0.rc1
- old
+ new
@@ -1,13 +1,13 @@
<% content_for :page_title do %>
<%= link_to Spree.t(:stock_locations), spree.admin_stock_locations_url %> /
<%= @stock_location.name %>
<% end %>
-<%= render :partial => 'spree/admin/shared/error_messages', :locals => { :target => @stock_location } %>
+<%= render partial: 'spree/admin/shared/error_messages', locals: { target: @stock_location } %>
<%= form_for [:admin, @stock_location] do |f| %>
<fieldset>
- <%= render :partial => 'form', :locals => { :f => f } %>
- <%= render :partial => 'spree/admin/shared/edit_resource_links' %>
+ <%= render partial: 'form', locals: { f: f } %>
+ <%= render partial: 'spree/admin/shared/edit_resource_links' %>
</fieldset>
<% end %>