Sha256: f76d31be9d4148f10c65649d02b31c6084a7b097867c32881d5af55d2a427ee4

Contents?: true

Size: 863 Bytes

Versions: 4

Compression:

Stored size: 863 Bytes

Contents

<div id="add-line-item">
  <fieldset>
    <legend><%= t('add_product') %></legend>
    <div style="float:left;width:65%;margin-right:5%;">
      <%= label_tag :add_product_name, t("name_or_sku") %>
      <%= text_field_tag :add_product_name,  {}, :class => 'fullwidth title'  %>
      <%= hidden_field_tag :add_variant_id %>
    </div>
    <div style="float:left;width:10%;margin-right:5%;">
      <%= 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;">
      <%= link_to text_for_button_link(t("add"), :icon => 'add'), 
            admin_order_line_items_url(@order),
            {:id => 'add_line_item_to_order', :method => :post, :class => 'button', 'data-update' => 'order-form-wrapper'} %>
    </div>

  </fieldset>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_core-0.30.2 app/views/admin/orders/_add_product.html.erb
spree_core-0.30.1 app/views/admin/orders/_add_product.html.erb
spree_core-0.30.0 app/views/admin/orders/_add_product.html.erb
spree_core-0.30.0.beta1 app/views/admin/orders/_add_product.html.erb