søn, 01,.05.2005 kl. 18.35 +0100, skrev Sam Newman:> If my render_partial contains no form information, it gets rendered
> correctly, so:
>
> <tr><td><%= thing_list_row.name %></td></tr>
>
> displays the newly added row, but if my template has a form:
>
> <form>
> <tr><td><%= thing_list_row.name %></td></tr>
> </form>
>
> Nothing happens. Note that the new thing does get created, but nothing
> gets rendered in response. Any ideas?
A long shot, but is the form specific to only the table row (as it seems
from the above code) and if so, have you tried moving the form elements
into the td?
<tr><td><form><%= thing_list_row.name
%></form></td></tr>
I don''t think the browsers likes the <form> elements to fall
between the
<table> and the <tr> elements. I also doubt it is standard
compliant.
HTH
--
Kent Dahl <kentda-Pxk+xaSIQSE@public.gmane.org>
http://www.pvv.org/~kentda/