search for: update_piece

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

Did you mean: update_nbpiece
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</lab...