This commit is contained in:
sw 2014-08-14 15:16:20 +08:00
commit 2a831136ae
1 changed files with 18 additions and 11 deletions

View File

@ -94,6 +94,13 @@
:taggable_id => obj.id, :taggable_type => object_flag %> </span> :taggable_id => obj.id, :taggable_type => object_flag %> </span>
<% end %> <% end %>
<% end %> <% end %>
<!--添加的删除标签0814添加 -->
<% if obj.author_id == User.current.id %>
<span class='del'> <%= link_to 'x', :controller => "tags", :action => "remove_tag", :remote => true, :tag_name => tag,
:taggable_id => obj.id, :taggable_type => object_flag %> </span>
<% end %>
</span> </span>
</div> </div>