Displaying 1 result from an estimated 1 matches for "complete_row".
2006 Feb 22
0
Need help getting value from text_field_with_autocomplete
...l => { :action =>
''addRow'' }, :position => :after) %>"</td>
</tr>
Here is the controller for addRow:
def addRow
@product = Product.find_by_product_code(params[:product][:product_code])
@completeRow = render_to_string(:partial => ''complete_row'')
end
Here is the complete_row partial
<td rowspan="2" align="center"><%= text_field("purchase_order_detail",
"quantity", "size"=>5) %></td>
<td rowspan="2" align="center"><%= text_field(&...