<@cms.tag id=id><#assign a=object/></@cms.tag>
<form method="post" autocomplete="off" action="cmsTag/save?callbackType=closeCurrent&navTabId=cmsTag/list" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
    <input name="id" type="hidden" value="${id!}"/>
    <input type="hidden" name="_csrf" value="<@tools.csrfToken admin=true/>"/>
    <div class="formBar card">
        <ul>
            <li><button type="submit" class="buttonActive" title="ctrl+s"><@t.page 'button.save'/></button></li>
            <li><button type="button" class="button close"><@t.page 'button.close'/></button></li>
        </ul>
    </div>
    <div class="card">
        <div class="pageFormContent" layoutH>
            <dl>
                <dt><@t.page 'tag_type'/>:</dt>
                <dd>
                    <input name="typeId" type="hidden" value="${(a.typeId)!}"/>
                    <#if a?has_content&&a.typeId?has_content><@cms.tagType id=a.typeId><#assign tagTypeName=object.name/></@cms.tagType></#if>
                    <input readonly="readonly" name="tagTypeName" type="text" size="10" value="${(tagTypeName)!}"/>
                    <a class="btnLook" href="cmsTagType/lookup.html" width="920" lookupGroup=""><@t.page 'tag_type.select'/></a>
                </dd>
            </dl>
            <dl class="nowrap">
                <dt><@t.page 'name'/>:</dt>
                <dd><input class="required" name="name" type="text" maxlength="50" size="20" value="${(a.name)!}"/></dd>
            </dl>
            <dl>
                <dt><@t.page 'tag.search_count'/>:</dt>
                <dd><input class="required number" name="searchCount" type="number" size="5" value="${(a.searchCount)!0}"/></dd>
            </dl>
        </div>
    </div>
</form>