Sha256: 2bad90224d3c5577a17779bab900f30a3b15e74137241fc096c34745d5049c46
Contents?: true
Size: 770 Bytes
Versions: 137
Compression:
Stored size: 770 Bytes
Contents
<div class="row"> <div class="col-12"> <div class="field products_rule_products"> <%= label_tag "#{param_prefix}_product_ids_string", t('spree.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-12"> <div class="field"> <label> <%= t('spree.product_rule.label', select: select_tag("#{param_prefix}[preferred_match_policy]", options_for_select(Spree::Promotion::Rules::Product::MATCH_POLICIES.map{|s| [t("spree.product_rule.match_#{s}"),s] }, promotion_rule.preferred_match_policy), {class: 'select_product custom-select'})).html_safe %> </label> </div> </div> </div>
Version data entries
137 entries across 137 versions & 3 rubygems