编辑贴吧tag的权限问题
This commit is contained in:
parent
fa41c03a82
commit
ba240c72b7
|
@ -101,7 +101,9 @@
|
|||
<div id="forum_tag_list">
|
||||
<%= render :partial=>'forums/forum_tag_list',:locals=>{:forum=>@forum}%>
|
||||
</div>
|
||||
<% if(@forum.creator.id == User.current.id)%>
|
||||
<a href="javascript:void(0)" class="yellowBtn f_l" onclick="$('#add_tag01').slideToggle();">+ 添加标签</a>
|
||||
<% end %>
|
||||
<span id="add_tag01" style="display:none; vertical-align: middle;" class="ml10 f_l">
|
||||
<input type="text" name="addTag" size="20" class="isTxt w90 f_l" maxlength="100" />
|
||||
<input type="button" class="submit f_l" onclick="addTag();" />
|
||||
|
|
Loading…
Reference in New Issue