<% @tags = obj.reload.tag_list %>

<% if @tags.size > 0 %>
    <% @tags.each do |tag| %>
	<span class="re_tag f_l"> <%= link_to tag, :controller => "tags", :action => "index", :q => tag, :object_flag => object_flag, :obj_id => obj.id %>
      <!-- 对用户主页 是本人 ，对项目，需求，问题是管理员 -->
      <% case object_flag %>
	    <% when '6' %>
          <% if obj.author_id == User.current.id || User.current.admin?%>
		        <span class='del'> <%= link_to 'x', :controller => "tags", :action => "remove_tag_new", :remote => true, :tag_name => tag,
                                               :taggable_id => obj.id, :taggable_type => object_flag %> </span>
			<% end %>
	    <% end %>
    </span>
    <% end %>
<% else %>
    <!-- <span style="color:#8c8a8a" class="f_l">
	&nbsp;&nbsp;&nbsp;<#%= l(:label_tags_no) %> -->
    </span>
<% end %>