Sha256: 567762b7f754fc68cdc7cff6e2f40352ec65bdd8c50e81b7cfef2beebf84a568
Contents?: true
Size: 1006 Bytes
Versions: 49
Compression:
Stored size: 1006 Bytes
Contents
<div class="panel-body"> <div class="row no-marginb"> <div class="form-group col-md-6 no-marginb"> <%= 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-md-6 no-marginb"> <%= 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
49 entries across 49 versions & 2 rubygems