Sha256: 21dbe161bdb871974d5947268822b4b4216055d0f7f0811a30aee7b361667cc3
Contents?: true
Size: 987 Bytes
Versions: 38
Compression:
Stored size: 987 Bytes
Contents
<div class="card-body"> <div class="row mb-0"> <div class="form-group col-6 mb-3"> <%= select_tag "#{param_prefix}[preferred_operator_min]", options_for_select(Spree::Promotion::Rules::ItemTotal::OPERATORS_MIN.map{|o| [Spree.t("item_total_rule.operators.#{o}"),o]}, promotion_rule.preferred_operator_min), { class: 'custom-select select_item_total mb-3' } %> <%= select_tag "#{param_prefix}[preferred_operator_max]", options_for_select(Spree::Promotion::Rules::ItemTotal::OPERATORS_MAX.map{|o| [Spree.t("item_total_rule.operators.#{o}"),o]}, promotion_rule.preferred_operator_max), { class: 'custom-select select_item_total' } %> </div> <div class="form-group col-6 mb-3"> <%= text_field_tag "#{param_prefix}[preferred_amount_min]", promotion_rule.preferred_amount_min, class: 'form-control mb-3' %> <%= text_field_tag "#{param_prefix}[preferred_amount_max]", promotion_rule.preferred_amount_max, class: 'form-control' %> </div> </div> </div>
Version data entries
38 entries across 38 versions & 1 rubygems