|
|
|
@ -25,7 +25,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<% if @news.commentable? %>
|
|
|
|
|
<div class="msg_box">
|
|
|
|
|
<div class="msg_box fl">
|
|
|
|
|
<h4><%= l(:label_comment_add) %></h4>
|
|
|
|
|
<%= form_tag({:controller => 'comments', :action => 'create', :id => @news}, :id => "add_comment_form") do %>
|
|
|
|
|
<div class="box" id="news_comment">
|
|
|
|
@ -43,7 +43,7 @@
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<% comments = @comments.reverse %>
|
|
|
|
|
<% comments.each do |comment| %>
|
|
|
|
|
<% next if comment.new_record? %>
|
|
|
|
|