app/views/spree/admin/promotions/_actions.html.erb in spree_promo-1.0.0.rc2 vs app/views/spree/admin/promotions/_actions.html.erb in spree_promo-1.0.0.rc3

- old
+ new

@@ -2,15 +2,10 @@ <legend><%= t(:promotion_actions) %></legend> <%= form_for @promotion, :url => spree.admin_promotion_path(@promotion), :method => :put do |f| %> <div id="actions" class="filter_list"> <% if @promotion.actions.any? %> - <%#= render :partial => 'promotion_action', :collection => @promotion.actions, :locals => {:f => f} %> - - <%= f.fields_for :promotion_actions do |action_form| %> - <%= render :partial => 'spree/admin/promotions/promotion_action', :locals => { :action_form => action_form } %> - <% end %> - + <%= render :partial => 'promotion_action', :collection => @promotion.actions %> <% else %> <!-- <p><%= t(:no_actions_added) %></p> --> <% end %> </div> <p class="form-buttons">