search for: add_piece

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

2006 Jan 20
1
form_tag and multiple buttons inside problem
...'', :id => p %></td> </tr> <% end%> </table> <%= button_to ''Edit Product'', :action => ''edit'', :id => @product -%> <%= button_to ''Create New Piece'', :action => ''add_piece'', :id => @product -%> <%= end_form_tag %> what I get for the "Edit" button in the generated HTML is the following: </form action="/admin/update/3" method="post"> blah blah blah HTML code here .... <td><div><input v...