<% unless tag_list.nil?%>
    <% tag_list.each do |k,v|%>
        <% if tag_name && tag_name == k%>
            <a href="javascript:void(0);" class="files_tag_select"><%= k%>×<%= v%></a>
        <% else%>
        <span class="files_tag_icon">    <a  ondblclick="rename_tag($(this),'<%= k %>','',<%= 6 %>);"><%= k%>×<%= v%></a></span>
        <% end%>
    <% end%>
<% end%>