Sha256: 6003ce8c6438dbfe38f5d521d14c6af360431801c9783edaba76c49dbd55c163
Contents?: true
Size: 785 Bytes
Versions: 26
Compression:
Stored size: 785 Bytes
Contents
<div class="promotion_action <%= promotion_action.type.to_s.demodulize.underscore %>" id="<%= dom_id promotion_action %>"> <span class="delete"> <%= link_to_with_icon 'cross', '', spree.admin_promotion_promotion_action_path(@promotion, promotion_action), :remote => true, :method => :delete %> </span> <% type_name = promotion_action.class.name.demodulize.underscore %> <% param_prefix = "promotion[promotion_actions_attributes][#{promotion_action.id}]" %> <%= hidden_field_tag "#{param_prefix}[id]", promotion_action.id %> <p><%= t("promotion_action_types.#{type_name}.description") %></p> <%= render :partial => "spree/admin/promotions/actions/#{type_name}", :locals => { :promotion_action => promotion_action, :param_prefix => param_prefix } %> </div>
Version data entries
26 entries across 26 versions & 1 rubygems