Displaying 1 result from an estimated 1 matches for "add_comment_image".
2010 Jan 05
0
Problem with associating comments with blog posts on same page
...words(post.created_at) %> ago
</p>
<p>
Approved: <%= h(post.approved) %>
</p>
<p class="post_post">
<%= simple_format h(post.body) %>
</p>
<% randomNumber = rand(100000) %>
<img src="/images/add_comment.jpg" class="add_comment_image<%=
randomNumber %>" />
<div id="comments<%= randomNumber %>">
<%= render :partial => post.comments %>
<h1>New comment</h1>
<% form_for :comment,
:url => { :controller => "comments", :action => :create} do |f|...