Sha256: 3113e575bccf511eee93b1a7ea71c0dd3a1f34fde28f6d7dc8d872215be2edf0

Contents?: true

Size: 685 Bytes

Versions: 28

Compression:

Stored size: 685 Bytes

Contents

<div class="promotion_rule" id="<%= dom_id promotion_rule %>">
  <span class="delete"><%= link_to_with_icon 'cross', '', spree.admin_promotion_promotion_rule_path(@promotion, promotion_rule), :remote => true, :method => :delete %></span>
  <% type_name = promotion_rule.class.name.demodulize.underscore %>
  <% param_prefix = "promotion[promotion_rules_attributes][#{promotion_rule.id}]" %>
  <%= hidden_field_tag "#{param_prefix}[id]", promotion_rule.id %>
  <p><%= t("promotion_rule_types.#{type_name}.description") %></p>
  <%= render :partial => "spree/admin/promotions/rules/#{type_name}", :locals => { :promotion_rule => promotion_rule, :param_prefix => param_prefix } %>
</div>

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
spree_promo-1.2.5 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.1.6 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.1.5 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.2.4 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.0.7 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.2.3 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.2.2 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.1.4 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.2.0 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.2.0.rc2 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.2.0.rc1 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.1.3 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.0.6 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.1.2 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.1.2.rc1 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.1.1 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.1.0 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.0.4 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.1.0.rc2 app/views/spree/admin/promotions/_promotion_rule.html.erb
spree_promo-1.1.0.rc1 app/views/spree/admin/promotions/_promotion_rule.html.erb