[% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %]
[% FORM.title %]
[%- INCLUDE 'common/flash.html' %]
[% IF !PROJECT_STATUS.size %]

[%- 'No project status has been created yet.' | $T8 %]

[%- ELSE %] [%- FOREACH project_status = PROJECT_STATUS %] [%- END %]
[ LxERP.t8('reorder item') %] [%- 'Name' | $T8 %] [%- 'Description' | $T8 %]
[ LxERP.t8('reorder item') %] [% project_status.name | html %] [% project_status.description | html %]
[%- END %]

[%- 'Create a new project status' | $T8 %]

[% L.sortable_element('#project_status_list tbody', url => 'controller.pl?action=ProjectStatus/reorder', with => 'project_status_id') %]