I faced a problem about render. This is my view page:
<tr id="test1">
<%= render :partial=>'test1'%>
</tr>
In _test1.html.erb:
<td><%=select_tag 'database_select',
options_for_select(@databases)%></td>
</tr>
<tr id='test2'>
<td><%=text_field_tag 'table', @table_name,:size=>30%></td>
You can see that in the partial page, I use </tr> and <tr> element to
make a new row in the current table. When rendering this page, the
second row which id is 'test2' never update. How can I render the second
row in this case?
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---