<%= form_for(PreTransfer.new, remote: true) do |f| %>
  <%= f.hidden_field :origin_id %> 
  <%= f.hidden_field :destiny_id %>  
  <%= f.hidden_field :product_id %>   
  <%= f.hidden_field :quantity %>   
  <%= f.submit  'save', {:class=>"hidden"}%>
<% end %>