Sha256: ac296c45f0ae8f19040d4f68478f4054346055d6771d8d92ad7c5b7cc04a6e0b
Contents?: true
Size: 840 Bytes
Versions: 5
Compression:
Stored size: 840 Bytes
Contents
<div class="promotion_rule promotion-block alpha omega eight columns" id="<%= dom_id promotion_rule %>"> <% type_name = promotion_rule.class.name.demodulize.underscore %> <h6 class='promotion-title <%= 'no-text' if type_name == 'user_logged_in' || type_name == 'first_order'%>'><%= Spree.t("promotion_rule_types.#{type_name}.description") %></h6> <%= link_to_with_icon 'icon-trash', '', spree.admin_promotion_promotion_rule_path(@promotion, promotion_rule), :remote => true, :method => :delete, :class => 'delete' %> <% param_prefix = "promotion[promotion_rules_attributes][#{promotion_rule.id}]" %> <%= hidden_field_tag "#{param_prefix}[id]", promotion_rule.id %> <%= render :partial => "spree/admin/promotions/rules/#{type_name}", :locals => { :promotion_rule => promotion_rule, :param_prefix => param_prefix } %> </div>
Version data entries
5 entries across 5 versions & 1 rubygems