Sha256: a3be3ea6152c64674de080d49e733f900a7621d0bea0666c436d5d996273af50

Contents?: true

Size: 810 Bytes

Versions: 4

Compression:

Stored size: 810 Bytes

Contents

  <div class="row">
    <div class="col-xs-11">
      <div class="field taxons_rule_taxons">
        <%= label_tag "#{param_prefix}_taxon_ids_string", Spree.t('taxon_rule.choose_taxons') %>
        <%= hidden_field_tag "#{param_prefix}[taxon_ids_string]", promotion_rule.taxon_ids.join(","), :class => "taxon_picker fullwidth", id: 'product_taxon_ids' %>
      </div>
    </div>
    <div class="col-xs-12">
      <div class="field">
        <label>
          <%= Spree.t('taxon_rule.label', :select => select_tag("#{param_prefix}[preferred_match_policy]", options_for_select(Spree::Promotion::Rules::Taxon::MATCH_POLICIES.map{|s| [Spree.t("taxon_rule.match_#{s}"),s] }, promotion_rule.preferred_match_policy), {:class => 'select_taxon select2'})).html_safe %>
        </label>
      </div>
    </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/_taxon.html.erb
solidus_backend-2.1.0 app/views/spree/admin/promotions/rules/_taxon.html.erb
solidus_backend-2.1.0.rc1 app/views/spree/admin/promotions/rules/_taxon.html.erb
solidus_backend-2.1.0.beta1 app/views/spree/admin/promotions/rules/_taxon.html.erb