Sha256: db63033a2dedfe0b41944a51a01c8958eb2e420788d348d16506af3bb407cf9e

Contents?: true

Size: 941 Bytes

Versions: 16

Compression:

Stored size: 941 Bytes

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' %>
      <%= 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),
            {:id => 'add_line_item_to_order', :class => 'button', 'data-update' => 'order-form-wrapper'} %>
    </div>

  </fieldset>
</div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
spree_core-1.0.7 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.0.6 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.1.2.rc1 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.1.1 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.1.0 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.0.4 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.1.0.rc2 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.1.0.rc1 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.0.3 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.0.2 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.0.1 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.0.0 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.0.0.rc4 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.0.0.rc3 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.0.0.rc2 app/views/spree/admin/orders/_add_product.html.erb
spree_core-1.0.0.rc1 app/views/spree/admin/orders/_add_product.html.erb