[%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE T8 -%]

[% HTML.escape(title) %]

[%- INCLUDE 'common/flash.html' %] [% IF SELF.supports_reordering %] [% END %] [% FOREACH attribute = SELF.list_attributes %] [% HTML.escape(attribute.title) %] [% END %] [%- FOREACH object = SELF.all_objects %] [% IF SELF.supports_reordering %] [% END %][%# IF SELF.supports_reordering %] [% FOREACH attribute = SELF.list_attributes %] [% IF loop.count == 1 %] [% END %][%# IF loop.count == 0 %] [% SET method = attribute.method value = attribute.exists('formatter') ? attribute.formatter(object) : object.$method ; HTML.escape(value) %] [% IF loop.count == 1 %] [% END %][%# IF loop.count == 0 %] [% END %][%# FOREACH attribute… %] [%- END %][%# FOREACH object… %]
[ LxERP.t8('reorder item') %]
[% L.img_tag(src="image/updown.png", alt=LxERP.t8("reorder item")) %]
[% IF SELF.supports_reordering %] [% L.sortable_element("#object_list tbody", url=SELF.url_for(action="reorder", type=SELF.type), with="object_id") %] [% END %]