Get sub-list to populate the warn_inactive tmpl_var

If have generalized the quick view of inactive element in list by adding the template tr with the following markup <tmpl_loop name="records"> <tr <tmpl_if name="warn_inactive"> class="danger" </tmpl_if> > It works pretty well for normal lists (that goes thru listform_actions.inc.php), but poorly fail on sub form such as the dns_a_list.htm that seems to use a different mechanism. How to get such tmpl_var populated so to colorize inactive RR ?

Regards