Hi everyone,
I am trying to get a Partial to render inside an Insertion.Bottom call
so I can have a new row of content rendered at the bottom of a table
once a form is submitted.
Below is the code I have written to try and get this to work but I''m
not
having any luck with to so far:
<%= form_remote_tag (:complete => "new
Insertion.Bottom(''tableID'',
render(:partial =>
''product_size_row''))",
:url => {:action => ''create''})
%>
<%= render :partial => ''formName'' %>
<%= submit_tag "Save", :class => "submit" %>
<%= end_form_tag %>
I noticed that a similar question was raised here:
http://www.ruby-forum.com/topic/75418#115088 but go no response.
Any help appreciated.
Thanks
-Harvs-
--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---