Sha256: 7133f1b538eafdbe7cc1245b75758b4e16646f0386a42cd9d1a3826adc8ff274

Contents?: true

Size: 931 Bytes

Versions: 2

Compression:

Stored size: 931 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") %>
      <%= text_field_tag :add_quantity,  1 , :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

2 entries across 2 versions & 1 rubygems

Version Path
spree_core-0.70.0.rc2 app/views/admin/orders/_add_product.html.erb
spree_core-0.70.RC1 app/views/admin/orders/_add_product.html.erb