<div class="pageFormContent" layoutH>
    <ul class="tree treeFolder expand">
        <li>
            <a href="javascript:;" onclick="$.bringBack({${field!'categoryId'}:'',categoryId:'', categoryName:'',parentId:''});return false;"><@t.page 'button.clear_select'/></a>
        </li>
        <@_categoryModelList modelId=modelId>
            <#list list as a>
                <#if currentCategoryId?has_content&&a.id.categoryId?string!=currentCategoryId>
                    <@t.merge 'categoryIds' a.id.categoryId!/>
                </#if>
            </#list>
            <@_category ids=t.categoryIds!>
                <#list map as k,v>
                    <li><a href="javascript:;" class="exclude-translate" onclick="$.bringBack({${field!'categoryId'}:'${k}', categoryName:'${v.name}'});return false;">${v.name!}</a></li>
                <#else>
                    <li><a><@t.page 'empty_directory'/></a></li>
                </#list>
            </@_category>
        </@_categoryModelList>
    </ul>
</div>
<div class="formBar">
    <ul>
        <li><button type="button" class="button close"><@t.page 'button.close'/></button></li>
    </ul>
</div>