#826 :资源标签不能删除Bug修复
This commit is contained in:
parent
e18129c935
commit
43cfcce44e
|
@ -94,6 +94,13 @@
|
|||
:taggable_id => obj.id, :taggable_type => object_flag %> </span>
|
||||
<% 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>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue