Displaying 1 result from an estimated 1 matches for "invoice_inv_numb".
Did you mean:
invoice_inv_number
2005 Dec 23
0
adding items to a particular invoice on the same page
...ition => "bottom" ) %>
New item text:
<%= submit_tag "Add" %>
<%= end_form_tag %>
<form action="/ajax/save_items" method="post">
<ul id="my_list">
<input type="text" id="invoice_inv_number" name="invoice[inv_number]" >
<li>Original item... please add more!</li>
</ul>
<%= submit_tag ''Update'' %>
</form>
</body>
</html>
Controller Ajax_controller.rb
lass AjaxController < Application...