[%- USE HTML -%][%- USE LxERP -%][%- USE P -%][%- USE L -%] [% L.hidden_tag("requirement_spec_items[+].id", item.id, id = id_prefix _ '_item_id') %] [%- item.fb_number _ ": " _ item.description_as_restricted_html -%] [%- L.select_tag('requirement_spec_items[].complexity_id', SELF.complexities, id=id_prefix _ '_complexity_id_' _ item.id, title_key='description', default=item.complexity_id, style="width: 100%") %]
[%- L.select_tag('requirement_spec_items[].risk_id', SELF.risks, id=id_prefix _ '_risk_id_' _ item.id, title_key='description', default=item.risk_id, style="width: 100%") %]
[%- IF !item.children.size -%] [%- P.man_days_tag('requirement_spec_items[].time_estimation', item, id=id_prefix _ '_time_estimation') %] [%- ELSE -%]   [%- END -%] [%- IF item.children.size -%] [%- FOREACH child = item.children_sorted -%] [%- INCLUDE 'requirement_spec/_edit_time_and_cost_estimate_item.html' id_prefix = id_prefix item = child level = level + 1 -%] [%- END -%] [%- END -%]