<table>
{*    <pre>
        {print_r($old_wp_list)}
    </pre>*}
{foreach item="wp_item" from=$old_wp_list}
    <tr>
        <td>{$wp_item->full_name}</td>
        <td>
            {if $wp_item->rgt - $wp_item->lft === 1}
                {include file='r/select-only.tpl' name="wp_move_`$wp_item->id`" title="filter_package"
                    list=$new_wp_list id="id" text="full_name" class="required" filter_extra="onchange='projectadmin.validate_delete();'"}
            {/if}    
        </td>
    </tr>
{/foreach}
</table>