Displaying 1 result from an estimated 1 matches for "_itemlist".
Did you mean:
itemlist
2006 Feb 10
0
ajax form submission and updating multiple divs
...> :create })
%>
<label for "name">Enter Item Name:</label>
<%= text_field_tag :name %>
<%= submit_tag "Save Item" %>
<%= end_form_tag %>
<div id="itemlist">
<%= render(:partial => "itemlist") %>
</div>
_itemlist.thtml
<%= @message %>
<table border="1">
<tr>
<th>ID</th>
<th>Barcode</th>
<th>created</th>
</tr>
<% @items.each do |i| %>
<tr>
<td><%= i.id %></td>
<td><%= i.barcode %&...