Sha256: e25a44e585bcd4de498fd66dafd09a8ce36b61afdfb1d35d197bedc594a517f3

Contents?: true

Size: 682 Bytes

Versions: 7

Compression:

Stored size: 682 Bytes

Contents

<div class="field alpha omega eight columns products_rule_products">
  <%= label_tag "#{param_prefix}_product_ids_string", t('product_rule.choose_products') %>
  <%= hidden_field_tag "#{param_prefix}[product_ids_string]", promotion_rule.product_ids.join(","), :class => "product_picker fullwidth" %>
</div>
<div class="field alpha omega eight columns">
  <label>
    <%= t('product_rule.label', :select => select_tag("#{param_prefix}[preferred_match_policy]", options_for_select(Spree::Promotion::Rules::Product::MATCH_POLICIES.map{|s| [t("product_rule.match_#{s}"),s] }, promotion_rule.preferred_match_policy), {:class => 'select_product select2'})).html_safe %>
  </label>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spree_promo-1.3.5 app/views/spree/admin/promotions/rules/_product.html.erb
spree_promo-1.3.4 app/views/spree/admin/promotions/rules/_product.html.erb
spree_promo-1.3.3 app/views/spree/admin/promotions/rules/_product.html.erb
spree_promo-1.3.2 app/views/spree/admin/promotions/rules/_product.html.erb
spree_promo-1.3.1 app/views/spree/admin/promotions/rules/_product.html.erb
spree_promo-1.3.0 app/views/spree/admin/promotions/rules/_product.html.erb
spree_promo-1.3.0.rc2 app/views/spree/admin/promotions/rules/_product.html.erb