adds comments to user's page
This commit is contained in:
committed by
Juanjo Bazán
parent
7b2e09d54d
commit
e8232f296e
@@ -0,0 +1,13 @@
|
||||
<table class="clear">
|
||||
<% @comments.each do |comment| %>
|
||||
<tr id="debate_<%= comment.id %>">
|
||||
<td>
|
||||
<i><%= t("users.show.comment_to") %> <%= link_to comment.commentable.title, comment.commentable %></i>
|
||||
<br>
|
||||
<%= comment.body %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</table>
|
||||
|
||||
<%= paginate @comments %>
|
||||
|
||||
Reference in New Issue
Block a user