1 [% USE HTML %][% USE L %][% USE LxERP %]
3 <div class="listtop">[% FORM.title %]</div>
5 [%- INCLUDE 'common/flash.html' %]
7 <form method="post" action="controller.pl">
8 [% IF !REQUIREMENT_SPEC_TYPES.size %]
10 [%- LxERP.t8('No requirement spec type has been created yet.') %]
14 <table id="requirement_spec_type_list">
16 <tr class="listheading">
17 <th align="center"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></th>
18 <th>[%- LxERP.t8('Description') %]</th>
23 [%- FOREACH requirement_spec_type = REQUIREMENT_SPEC_TYPES %]
24 <tr class="listrow[% loop.count % 2 %]" id="requirement_spec_type_id_[% requirement_spec_type.id %]">
25 <td align="center" class="dragdrop"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></td>
27 <a href="[% SELF.url_for(action => 'edit', id => requirement_spec_type.id) %]">
28 [%- HTML.escape(requirement_spec_type.description) %]
38 <a href="[% SELF.url_for(action => 'new') %]">[%- LxERP.t8('Create a new requirement spec type') %]</a>
42 [% L.sortable_element('#requirement_spec_type_list tbody', url => 'controller.pl?action=RequirementSpecType/reorder', with => 'requirement_spec_type_id') %]