Sha256: c748e814b36afcf029655c675346f59194d937654fa5b992a2ce58167f94eac1

Contents?: true

Size: 1.02 KB

Versions: 7

Compression:

Stored size: 1.02 KB

Contents

<div id="add-line-item" data-hook>
  <fieldset>
    <legend><%= t(:add_product) %></legend>
    <div style="float:left; width:65%; margin-right:5%;" data-hook="add_product_name">
      <%= label_tag :add_product_name, t(:name_or_sku) %>
      <%= text_field_tag :add_product_name, nil, :class => 'fullwidth title product_autocomplete' %>
      <%= hidden_field_tag :add_variant_id %>
    </div>
    <div style="float:left; width:10%; margin-right:5%;" data-hook="add_quantity">
      <%= label_tag :add_quantity, t(:qty) %>
      <%= number_field_tag :add_quantity,  1, :min => 0, :class => 'fullwidth title' %>
    </div>
    <div style="float: left; width: 15%; padding-top: 17px;" data-hook="add_button">
      <%= link_to text_for_button_link(t(:add), :icon => 'add'),
                  admin_order_line_items_url(@order),
                  :method => :post,
                  :id => 'add_line_item_to_order',
                  :class => 'button',
                  'data-update' => 'order-form-wrapper' %>
    </div>

  </fieldset>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spree_core-1.2.5 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.2.4 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.2.3 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.2.2 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.2.0 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.2.0.rc2 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.2.0.rc1 app/views/spree/admin/orders/_add_product.html.erb