RS; I should have figured this one out way earlier...
This commit is contained in:
parent
a7659ae902
commit
27d29d5d40
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue