Sha256: 8fefb0780c5fb73d7df85dfaa122871c1b85f49634dcf318de40f5cbce58f6dd

Contents?: true

Size: 996 Bytes

Versions: 9

Compression:

Stored size: 996 Bytes

Contents

<%= render :partial => "spree/admin/variants/autocomplete", :formats => :js %>

<div id="add-line-item" data-hook>
  <fieldset>
    <legend align="center"><%= t(:add_product) %></legend>
    
    <div data-hook="add_product_name" class="field eight columns alpha">
      <%= label_tag :add_product_name, t(:name_or_sku) %>
      <%= hidden_field_tag :add_variant_id, "", :class => "variant_autocomplete fullwidth" %>
    </div>
    
    <div data-hook="add_quantity" class="field two columns">
      <%= label_tag :add_quantity, t(:qty) %>
      <%= number_field_tag :add_quantity,  1, :min => 0 %>
    </div>
    
    <div data-hook="add_button" class="actions two columns omega">
      <%= link_to_with_icon 'icon-plus', t(:add), admin_order_line_items_url(@order), 
                  :method => :post,
                  :id => 'add_line_item_to_order',
                  :class => 'button fullwidth',
                  'data-update' => 'order-form-wrapper' %>
    </div>

  </fieldset>
</div>

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spree_core-1.3.5 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.3.4 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.3.3 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.3.2 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.3.1 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.3.0 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.3.0.rc2 app/views/spree/admin/orders/_add_product.html.erb
dup_spree_core-1.3.0.rc1 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.3.0.rc1 app/views/spree/admin/orders/_add_product.html.erb