去除贴吧右侧tag

This commit is contained in:
daiao 2016-12-30 14:20:01 +08:00
parent 48645e1d43
commit a8d16a15de
1 changed files with 13 additions and 13 deletions

View File

@ -17,18 +17,18 @@
</a>
<% end %>
</div>
<div class="mt15">
<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="<%= Setting.tags_max_length %>" minlength="<%= Setting.tags_min_length%>" />
<input type="button" class="submit f_l" onclick="addTag();" />
</span></div>
<div class="cl"></div>
<!--<div class="mt15">-->
<!--<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="<%#= Setting.tags_max_length %>" minlength="<%#= Setting.tags_min_length%>" />-->
<!--<input type="button" class="submit f_l" onclick="addTag();" />-->
<!--</span></div>-->
<!--<div class="cl"></div>-->
<% if @forum.creator.id == User.current.id %>
<span class="postEdit"></span>
<%= link_to "编辑贴吧", edit_forum_path(@forum), :class => "linkGrey3", :remote => true %>