Adicionar Novos Itens

<% form_tag :action => "save_news" do %> <% @produtos = Produto.find(:all, :order => "nome") %> <% @unidades = UnidadeMedida.find(:all, :order => "descricao") %> <%= hidden_field 'tabela_preco', "id", :value => @tabela_preco.id %> <%= hidden_field 'tabela_preco', "numero_novos_item", :value => 0 %> <%= error_messages_for :tabela_preco %>
<%= submit_tag 'Salvar itens', :name => "submit" %> <%= link_to 'Voltar', tabela_precos_path %>
<% end %>
* Campos obrigatórios