1 [% USE HTML %][% USE L %][% USE LxERP %]
2 <h1>[% FORM.title %]</h1>
4 [%- INCLUDE "common/flash.html" %]
6 <form method="post" action="controller.pl">
7 [% IF !REQUIREMENT_SPEC_RISKS.size %]
9 [%- LxERP.t8("No risks level has been created yet.") %]
13 <table id="requirement_spec_risk_list">
15 <tr class="listheading">
16 <th align="center"><img src="image/updown.png" alt="[%- LxERP.t8("reorder item") %]"></th>
17 <th>[%- LxERP.t8("Description") %]</th>
22 [%- FOREACH requirement_spec_risk = REQUIREMENT_SPEC_RISKS %]
23 <tr class="listrow[% loop.count % 2 %]" id="requirement_spec_risk_id_[% requirement_spec_risk.id %]">
24 <td align="center" class="dragdrop"><img src="image/updown.png" alt="[%- LxERP.t8("reorder item") %]"></td>
26 <a href="[% SELF.url_for(action => "edit", id => requirement_spec_risk.id) %]">
27 [%- HTML.escape(requirement_spec_risk.description) %]
37 <a href="[% SELF.url_for(action => "new") %]">[%- LxERP.t8("Create a new risk level") %]</a>
41 [% L.sortable_element("#requirement_spec_risk_list tbody", url => "controller.pl?action=RequirementSpecRisk/reorder", with => "requirement_spec_risk_id") %]