贴吧描述增加自动换行
This commit is contained in:
parent
1eb9004259
commit
bc0f3840aa
|
@ -7,23 +7,23 @@
|
||||||
<%= forum.creator.nil? ? (link_to image_tag(url_to_avatar(forum.creator), :class => "avatar")) : (link_to image_tag(url_to_avatar(forum.creator), :class => "avatar"), user_path(forum.creator)) %>
|
<%= forum.creator.nil? ? (link_to image_tag(url_to_avatar(forum.creator), :class => "avatar")) : (link_to image_tag(url_to_avatar(forum.creator), :class => "avatar"), user_path(forum.creator)) %>
|
||||||
</div>
|
</div>
|
||||||
<div class="forums-index-content">
|
<div class="forums-index-content">
|
||||||
<table class="content-text-list">
|
<table class="content-text-list" style="table-layout: fixed;">
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top" width="500px" class=" <%= forum.sticky? ? 'sticky' : '' %><%= forum.locked? ? 'locked' : '' %>">
|
<td valign="top" width="500px" class=" <%= forum.sticky? ? 'sticky' : '' %><%= forum.locked? ? 'locked' : '' %>" style="word-break: break-all;word-wrap: break-word;">
|
||||||
<p >
|
<p >
|
||||||
<%= link_to h(forum.name), forum_path(forum) %>
|
<%= link_to h(forum.name), forum_path(forum) %>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td style="word-break: break-all;word-wrap: break-word;">
|
||||||
<p >
|
<p>
|
||||||
<%= textAreailizable forum.description%>
|
<%= textAreailizable forum.description%>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td style="word-break: break-all;word-wrap: break-word;">
|
||||||
<p >
|
<p >
|
||||||
<%= authoring forum.created_at, forum.creator %>
|
<%= authoring forum.created_at, forum.creator %>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue