Displaying 1 result from an estimated 1 matches for "show_review".
2007 Sep 23
9
Code reviews: my dumb use of acts_as_commentable (newbie)
...s
add comments.
What does my view (rhtml) look like? The view shows my review, of
course, and perhaps a list of other users'' comments on that review.
But now, Joe wants to comment on my review. Here''s what I have done so
far:
(part of the rhtml of the view, displayed on "show_review" action)
... other stuff on my review, then the comment fields ...
<fieldset>
<% form_for :review, :url=> { :action => "save_comment" } do |f| %>
<legend>Add Your Own Comment</legend>
<%= f.hidden_field :review_id %>
<p>...