Sha256: 828f2ae4da058e2b413f177451058f7bdda99b1410b02d36988097c507ca4977
Contents?: true
Size: 822 Bytes
Versions: 7
Compression:
Stored size: 822 Bytes
Contents
<div class="promotion_action promotion-block <%= promotion_action.type.to_s.demodulize.underscore %>" id="<%= dom_id promotion_action %>"> <% type_name = promotion_action.class.name.demodulize.underscore %> <h6 class="promotion-title"><%= t("promotion_action_types.#{type_name}.description") %></h6> <%= link_to_with_icon 'icon-trash', '', spree.admin_promotion_promotion_action_path(@promotion, promotion_action), :remote => true, :method => :delete, :class => 'delete' %> <% param_prefix = "promotion[promotion_actions_attributes][#{promotion_action.id}]" %> <%= hidden_field_tag "#{param_prefix}[id]", promotion_action.id %> <%= render :partial => "spree/admin/promotions/actions/#{type_name}", :locals => { :promotion_action => promotion_action, :param_prefix => param_prefix } %> </div>
Version data entries
7 entries across 7 versions & 2 rubygems