Files
openfoodnetwork/app/views/admin/subscriptions/_autocomplete.html.haml
Maikel Linke ba51641271 Symbolise hash keys in HAML files
This was done by the haml-up script.
2024-02-22 15:01:14 +11:00

21 lines
801 B
Plaintext

#add-line-item.add-line-item
%fieldset
%legend{ align: 'center'}= t(:products)
%table.no-borders.layout
%col{ width: '60%' }
%col{ width: '20%' }
%col{ width: '20%' }
%tr
%td.vertical-align-top
.field
= label_tag :add_variant_id, t('.name_or_sku')
%input#add_variant_id.variant_autocomplete.fullwidth{ type: 'number', "ng-model": 'newItem.variant_id' }
%td.vertical-align-top
.field
= label_tag :add_quantity, t('.quantity')
%input#add_quantity.fullwidth{ type: 'number', min: 1, "ng-model": 'newItem.quantity' }
%td
.actions
%a.icon-plus.button.fullwidth{ href: 'javascript:void(0)', "ng-click": 'addSubscriptionLineItem()' }
= t('.add')