论坛描述自动换行

This commit is contained in:
lizanle 2015-09-25 15:17:14 +08:00
parent fc1ec7135d
commit 1ee00fcae4
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
<!--<a href="javascript:void(0);" class="f16 linkBlue">新手讨论吧</a>--> <!--<a href="javascript:void(0);" class="f16 linkBlue">新手讨论吧</a>-->
<%= link_to forum.name, forum_path(forum),:class=>"f16 linkBlue" %> <%= link_to forum.name, forum_path(forum),:class=>"f16 linkBlue" %>
</div> </div>
<div class="postDes"><%= textAreailizable forum.description%></div> <div class="postDes" style="word-break: break-all;word-wrap : break-word ;"><%= textAreailizable forum.description%></div>
<div class="postCreater">创建者:<a href="<%= user_path( forum.creator)%>" class="linkGrey2" target="_blank"><%= forum.creator.name %></a></div> <div class="postCreater">创建者:<a href="<%= user_path( forum.creator)%>" class="linkGrey2" target="_blank"><%= forum.creator.name %></a></div>
<div class="postDate">创建时间:<%= format_date(forum.created_at) %></div> <div class="postDate">创建时间:<%= format_date(forum.created_at) %></div>
</div> </div>