<div class="pageContent">
    <div class="tabs">
        <@cms.categoryModelList categoryId=categoryId>
        <div class="tabsHeader">
            <#list list as a>
                <@t.merge 'modelIds' a.id.modelId!/>
            </#list>
            <@cms.model ids=t.modelIds!><#assign modelMap=map!/></@cms.model>
            <ul>
            <#list list as a>
                <li><a href="cmsTemplate/contentForm.html?categoryId=${a.id.categoryId}&modelId=${a.id.modelId}" class="j-ajax" onclick="return false;">${(modelMap[a.id.modelId].name)!}</a></li>
            </#list>
            </ul>
        </div>
        <div class="tabsContent unitBox">
            <#list list as a>
                <div class="pageFormContent" layoutH>
                    <#if a?is_first>
                        <#assign categoryId=a.id.categoryId modelId=a.id.modelId/>
                        <#include "../cmsTemplate/contentForm.html"/>
                    </#if>
                </div>
            </#list>
        </div>
        </@cms.categoryModelList>
    </div>
</div>
<div class="formBar">
    <ul>
        <li><button type="button" class="button close"><@t.page 'button.close'/></button></li>
    </ul>
</div>