Displaying 1 result from an estimated 1 matches for "story_comments_path".
2010 Jul 27
7
trouble with remote_form_for & html_update
I have a form that accepts comments and adds them to a list without
refreshing the page.
This is the html:
<div id=''aremark''>
<%= render :partial => ''comment'' %>
</div>
<% remote_form_for :comment, :url=>story_comments_path(@story), :html
=> { :id => ''comment'' } do |form| %>
<h5><label for="login">Make a comment:</label></h5>
<div id="body"><%= form.text_field :body %></div>
<p><%= submit_tag '...