app/views/spree/admin/refund_reasons/new.html.erb in solidus_backend-2.1.1 vs app/views/spree/admin/refund_reasons/new.html.erb in solidus_backend-2.2.0.beta1
- old
+ new
@@ -7,13 +7,13 @@
<% content_for :page_actions do %>
<% end %>
-<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @object } %>
+<%= render partial: 'spree/shared/error_messages', locals: { target: @object } %>
<%= form_for [:admin, @refund_reason] do |f| %>
<fieldset class="no-border-top">
- <%= render :partial => 'spree/admin/refund_reasons/shared/form', :locals => { :f => f } %>
- <%= render :partial => 'spree/admin/shared/new_resource_links' %>
+ <%= render partial: 'spree/admin/refund_reasons/shared/form', locals: { f: f } %>
+ <%= render partial: 'spree/admin/shared/new_resource_links' %>
</fieldset>
<% end %>