Displaying 1 result from an estimated 1 matches for "linea_form".
2009 Jun 29
0
Problem with 2.3 nested forms and new elements
...tura.lineas,
:locals => { :pf => factura_form } %>
</table>
<p>
<%= add_linea_link "Añadir linea", factura_form %>
</p>
********** _linea.erb.rhtml fragment ************
<tr class="linea">
<% pf.fields_for :lineas, linea do |linea_form| %>
<td><%= linea_form.collection_select(:articulo_id, @articulos, :id,
:nombre, {:prompt => ''Seleccione un artículo''}) %></td>
<td><%= linea_form.text_field :unidades, :onkeyup => "sayhola(this)"
%></td>
<td><%...