<script id="tagsTmpl" type="text/x-jquery-tmpl">
    <table class="tag_list">
        <tbody>
            {{tmpl(tags, { htmlEncode : $item.htmlEncode}) "tagItemTmpl"}}
        </tbody>
    </table>
</script>

<script id="tagItemTmpl" type="text/x-jquery-tmpl">
    <tr data_id="${id}" class="tag_item row with-entity-menu{{if id<0}} inactive{{/if}}">
        <td class="label">
            <span class="tag tagArrow tag${style}" title="${$item.htmlEncode(name)}" style="margin-top:0;">${$item.htmlEncode(name)}<