<#if 'view'=type>
    <#if value?has_content>
        <table border="1">
            <thead>
                <tr>
                    <th><@t.page 'keywords'/></th>
                    <th><@t.page 'url'/></th>
                </tr>
            </thead>
            <tbody>
            <#list value?split(',')?chunk(2) as row>
                <tr>
                    <#list row as a>
                    <td>${a}</td>
                    </#list>
                </tr>
            </#list>
            </tbody>
        </table>
    </#if>
<#else>
        <table class="list nowrap itemDetail" addButton="<@t.page 'button.new_line'/>" batchButton="<@t.page 'button.batch_create'/>" batchUrl="common/batchCreate2.html?field1=${inputName?url}&fieldName1=keywords&field2=${inputName?url}&fieldName2=url&suffix1=keywords&suffix2=url">
            <thead>
                <tr>
                    <th width="250"<#if 'customform'!=type> type="text" name="${inputName}" size="30" fieldClass="nocommas required" fieldAttrs='{"batchGroup":""<#if extend.maxlength?has_content>,maxlength:${extend.maxlength}</#if>}" suffix="keywords"</#if>><@t.page 'keywords'/></th>
                    <th width="250"<#if 'customform'!=type> type="text" name="${inputName}" size="30" fieldClass="nocommas required"<#if extend.maxlength?has_content> fieldAttrs='{"maxlength":${extend.maxlength}}'</#if> suffix="url"</#if>><@t.page 'url'/></th>
                    <th width="60"<#if 'customform'!=type> type="delAndSort"</#if>><@t.page 'operate'/></th>
                </tr>
            </thead>
            <tbody>
            <#if value?has_content>
                <#list value?split(',')?chunk(2) as row>
                    <tr class="unitBox">
                        <#list row as a>
                        <td>
                            <input name="${inputName}" type="text" size="30"<#if 'customform'=type><#else> class="nocommas required"</#if><#if extend.maxlength?has_content> maxlength="${extend.maxlength}"</#if> value="${a}"/>
                        </td>
                        </#list>
                        <td>
                            <a href="javascript:;"<#if 'customform'=type> onclick="this.parentElement.parentElement.remove()"<#else> class="btnDel"</#if>><@t.page 'button.delete'/></a>
                            <#if 'customform'!=type><a href="javascript:;" class="btnUp"></a><a href="javascript:;" class="btnDown"></a></#if>
                        </td>
                    </tr>
                </#list>
            </#if>
            </tbody>
        </table>
</#if>