<{if $tag.tag_id}> <{/if}>
<{input type='text' name='tag_name' value=$tag.tag_name vtype='required' maxlength='50'}>
<{input type='color' name='tag_color' value=$tag.tag_color vtype='required' }>