修改bug<贴吧换行显示不正确>

Signed-off-by: alan <547533434@qq.com>
This commit is contained in:
alan 2014-11-14 10:54:05 +08:00
parent 8d3f7bd0bf
commit e0cf3bd6de
3 changed files with 7 additions and 2 deletions

View File

@ -16,7 +16,6 @@ class TagsController < ApplicationController
include ActsAsTaggableOn::TagsHelper
helper :projects
helper :courses
include TagsHelper
helper :tags
include OpenSourceProjectsHelper

View File

@ -1,3 +1,9 @@
<style type="text/css">
.reply_content p {
margin-top: 13px;
margin-bottom: 13px;
}
</style>
<div class="lz">
<!-- 在这里添加赞和踩-->
<span id="praise_tread" style="float: right"> <%= render :partial => "/praise_tread/praise_tread",:locals => {:obj => @memo,:show_flag => true,:user_id =>User.current.id,:horizontal => true}%> </span>

View File

@ -7,7 +7,7 @@
// });
// })
</script>
<!-- 1代表是user类型 2代表是project类型 3代表是issue类型 4代表需求 9代表课程-->
<!-- 1代表是user类型 2代表是project类型 3代表是issue类型 4代表需求 7代表竞赛 9代表课程-->
<% @tags = obj.reload.tag_list %>
<% if non_list_all and (@tags.size > 0) %>