search for: update_piec

Displaying 1 result from an estimated 1 matches for "update_piec".

Did you mean: update_piece
2006 Jan 20
1
form_tag and multiple buttons inside problem
...quot; button in every row of the table. There''s suppose to be a "Edit Product" and "Create New Piece" at the end of the window. The problem is that (as shown below) the first button does the :action => ''update'' of the form, so doesn''t call update_piece as it should. Maybe I''m not being very clear, please excuse my english is not my first language. Here''s the code for the view. <%= start_form_tag :action => ''update'',:id => @product %> <label for="product_nombre">Nombre</la...