Displaying 1 result from an estimated 1 matches for "edit_piece".
Did you mean:
bit_piece
2006 Jan 20
1
form_tag and multiple buttons inside problem
...gt;
<table>
<tr> <th></th>
<th>Nombre</th>
<th>Descripcion</th>
</tr>
<% for p in @product.pieces %>
<tr>
<td><%= button_to ''Edit Piece'', :action => ''edit_piece'', :id
=> p %></td>
<td><%=h p.nombre %></td>
<td><%=h p.descripcion %></td>
<td><%= button_to ''Delete Piece'', :action => ''delete_piece'',
:id => p %></td>...