[%- USE HTML %][%- USE L -%][%- USE P -%][%- USE LxERP -%] [%- USE T8 %][% USE Base64 %] [%- FOREACH img = IMAGES %] [% END %]
[%- LxERP.t8('reorder item') %] [% 'Title' | $T8 %] [% 'Description' | $T8 %] [% 'Filename' | $T8 %] [% 'Orig. Size w/h' | $T8 %] [% 'Action' | $T8 %]
[%- LxERP.t8('reorder item') %] [%  img.file.title %] [% HTML.escape(img.file.title) %] [% HTML.escape(img.file.description) %] [% HTML.escape(img.file.file_name) %] [% HTML.escape(img.org_file_width) _ ' x ' _ HTML.escape(img.org_file_height) %] [% L.button_tag("kivi.File.delete_file(" _ img.file_id _ ", 'ShopPart/ajax_delete_file')", LxERP.t8('Delete'), confirm=LxERP.t8("Are you sure?")) %]
[% L.sortable_element('#images_list tbody', url=SELF.url_for(action='reorder'), with='image_id') %]

[% L.button_tag("kivi.ShopPart.imageUpload(" _ FORM.id _ ",'shop_image','image', '',0);", LxERP.t8('File upload') ) %]