mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-02 21:57:17 +00:00
15 lines
689 B
Plaintext
15 lines
689 B
Plaintext
= render :partial => "spree/admin/variants/autocomplete", :formats => :js
|
|
|
|
#add-line-item
|
|
%fieldset
|
|
%legend{ align: 'center'}= t(:products)
|
|
.field.ten.columns.alpha.field
|
|
= label_tag :add_product_name, t(:name_or_sku)
|
|
%input#add_variant_id.variant_autocomplete.fullwidth{ type: 'number', ng: { model: 'newItem.variant_id' } }
|
|
.field.three.columns.field
|
|
= label_tag :add_quantity, t(:qty)
|
|
%input#add_quantity.fullwidth{ type: 'number', min: 1, ng: { model: 'newItem.quantity' } }
|
|
.three.columns.omega.actions
|
|
%a.icon-plus.button.fullwidth{ href: 'javascript:void(0)', method: :post, ng: { click: 'addStandingLineItem()' } }
|
|
= t(:add)
|