>
> Is there anything unusual in the view that triggers this?
>
> Fred
This is the view:
<div id="sidebar">
<%= render :partial => 'sidebar' %>
</div>
<h1><%= @story.user.login %>'s story </h1>
<br>
<%= render :partial => 'friend' %>
<h4>Content</h4>
<div id="story"><%= @story.body %></div>
<div id='aremark'>
<%= render :partial => 'comment' %>
</div>
<h5><label for="login">Make a comment:</label></h5>
<% remote_form_for :comment, :url=>story_comments_path(@story), :html
=> { :id => 'comment' } do |form| %>
<div id="body"><%= form.text_field :body %></div>
<p><%= submit_tag 'Comment' %></p>
<% end %>
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment