Sha256: 9ea39e3eae155f462046c0501b58f8dab8af83d31ce9106179dc650f6aa15956

Contents?: true

Size: 700 Bytes

Versions: 11

Compression:

Stored size: 700 Bytes

Contents

<div class="col-12">
  <div class="row">
    <div class="col-6">
      <div class="field">
        <%= select_tag "#{param_prefix}[preferred_operator]", options_for_select(Spree::Promotion::Rules::ItemTotal::OPERATORS.map{|o| [Spree.t("item_total_rule.operators.#{o}"),o]}, promotion_rule.preferred_operator), {class: 'custom-select select_item_total fullwidth'} %>
      </div>
    </div>
    <div class="col-6">
      <div class="field">
        <%= fields_for param_prefix, promotion_rule do |f| %>
          <%= render "spree/admin/shared/number_with_currency", f: f, amount_attr: :preferred_amount, currency_attr: :preferred_currency %>
        <% end %>
      </div>
    </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/_item_total.html.erb
solidus_backend-2.4.1 app/views/spree/admin/promotions/rules/_item_total.html.erb
solidus_backend-2.3.1 app/views/spree/admin/promotions/rules/_item_total.html.erb
solidus_backend-2.4.0 app/views/spree/admin/promotions/rules/_item_total.html.erb
solidus_backend-2.4.0.rc1 app/views/spree/admin/promotions/rules/_item_total.html.erb
solidus_backend-2.4.0.beta1 app/views/spree/admin/promotions/rules/_item_total.html.erb
solidus_backend-2.3.0 app/views/spree/admin/promotions/rules/_item_total.html.erb
solidus_backend-2.3.0.rc3 app/views/spree/admin/promotions/rules/_item_total.html.erb
solidus_backend-2.3.0.rc2 app/views/spree/admin/promotions/rules/_item_total.html.erb
solidus_backend-2.3.0.rc1 app/views/spree/admin/promotions/rules/_item_total.html.erb
solidus_backend-2.3.0.beta1 app/views/spree/admin/promotions/rules/_item_total.html.erb