RS; I should have figured this one out way earlier...

This commit is contained in:
Raphael 2010-07-01 01:22:37 -07:00
parent a7659ae902
commit 27d29d5d40

View file

@ -1,7 +1,7 @@
= form_for Comment.new, :remote => true do |f|
%p
%label{:for => "comment_text"} Comment
= f.text_area :text, :rows => 2
%label{:for => "comment_text_on_#{post.id}"} Comment
= f.text_area :text, :rows => 2, :id => "comment_text_on_#{post.id}"
= f.hidden_field :post_id, :value => post.id
%p
= f.submit "Comment"