Sha256: af5da2bcb5ea8217ea8cbb1ea93e82d12b57e3801a8f5f2eb4cfb972e7544bc9

Contents?: true

Size: 728 Bytes

Versions: 4

Compression:

Stored size: 728 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_backend-2.1.1 app/views/spree/admin/promotions/rules/_product.html.erb
solidus_backend-2.1.0 app/views/spree/admin/promotions/rules/_product.html.erb
solidus_backend-2.1.0.rc1 app/views/spree/admin/promotions/rules/_product.html.erb
solidus_backend-2.1.0.beta1 app/views/spree/admin/promotions/rules/_product.html.erb