Sha256: ac8895cb9635b512abff4d76c1ec0b13e5892e6896678da07f455ed6cd99cef3
Contents?: true
Size: 1001 Bytes
Versions: 35
Compression:
Stored size: 1001 Bytes
Contents
<div class="card-body"> <div class="row mb-0"> <div class="form-group col-12 col-md-6 mb-0"> <%= 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: 'select2 select_item_total marginb' } %> <%= 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: 'select2 select_item_total' } %> </div> <div class="form-group col-12 col-md-6 mb-0"> <%= text_field_tag "#{param_prefix}[preferred_amount_min]", promotion_rule.preferred_amount_min, class: 'form-control marginb' %> <%= text_field_tag "#{param_prefix}[preferred_amount_max]", promotion_rule.preferred_amount_max, class: 'form-control' %> </div> </div> </div>
Version data entries
35 entries across 35 versions & 1 rubygems