Sha256: 20b70f28e3be9e09f315b9e68b04082dde236fa7a5e247b15934660a389ba999

Contents?: true

Size: 801 Bytes

Versions: 11

Compression:

Stored size: 801 Bytes

Contents

  <div class="row">
    <div class="col-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-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 custom-select'})).html_safe %>
        </label>
      </div>
    </div>
  </div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
solidus_backend-2.4.2 app/views/spree/admin/promotions/rules/_taxon.html.erb
solidus_backend-2.4.1 app/views/spree/admin/promotions/rules/_taxon.html.erb
solidus_backend-2.3.1 app/views/spree/admin/promotions/rules/_taxon.html.erb
solidus_backend-2.4.0 app/views/spree/admin/promotions/rules/_taxon.html.erb
solidus_backend-2.4.0.rc1 app/views/spree/admin/promotions/rules/_taxon.html.erb
solidus_backend-2.4.0.beta1 app/views/spree/admin/promotions/rules/_taxon.html.erb
solidus_backend-2.3.0 app/views/spree/admin/promotions/rules/_taxon.html.erb
solidus_backend-2.3.0.rc3 app/views/spree/admin/promotions/rules/_taxon.html.erb
solidus_backend-2.3.0.rc2 app/views/spree/admin/promotions/rules/_taxon.html.erb
solidus_backend-2.3.0.rc1 app/views/spree/admin/promotions/rules/_taxon.html.erb
solidus_backend-2.3.0.beta1 app/views/spree/admin/promotions/rules/_taxon.html.erb