5 <h1>[% FORM.title %]</h1>
7 [%- INCLUDE 'common/flash.html' %]
9 <form method="post" action="controller.pl" id="form">
12 [% IF !DELIVERY_TERMS.size %]
14 [%- 'No delivery term has been created yet.' | $T8 %]
17 <table id="delivery_term_list" class="tbl-list wi-moderate">
20 <th class="center"> <img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"> </th>
21 <th> [%- 'Description' | $T8 %] </th>
22 <th> [%- 'Long Description' | $T8 %] </th>
26 [%- FOREACH delivery_term = DELIVERY_TERMS %]
27 <tr id="delivery_term_id_[% delivery_term.id %]">
28 <td class="center dragdrop"> <img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"> </td>
29 <td> <a href="[% SELF.url_for(action => 'edit', id => delivery_term.id) %]"> [%- HTML.escape(delivery_term.description) %] </a> </td>
30 <td> [%- HTML.escape(delivery_term.description_long) %] </td>
39 [% L.sortable_element('#delivery_term_list tbody', url => 'controller.pl?action=DeliveryTerm/reorder', with => 'delivery_term_id') %]