Hello
This topic has been discussed before but I can''t figure out how to make
it work. I want to have an AJAX form within a table. I know that a form
element can be either outside the table or inside a td element. I tried
this code but the form_remote_tag is not processed meaning in the
generated HTML, there is no form element.
# Snippet from a partial
<tr id="lp_<%= x.id %>">
<td>
<%= form_remote_tag(:url => { :action => :update_x, :id => @x })
%>
<%= datetime_select(:x, :gtime) %> <%= submit_tag%>
<%= end_form_tag %>
</td>
</tr>
--
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
-~----------~----~----~----~------~----~------~--~---