<%= form_for(get_dejavu_for(@product), :url => create_only_name_products_path) do |f| %> <% if @product.errors.any? %>

<%= pluralize(@product.errors.count, "error") %> prohibited this product from being saved:

<% end %>
<%= f.label :name, "Create only: name" %>
<%= f.text_field :name %>
<%= f.label :code, "Create only: code" %>
<%= f.text_field :code %>
<%= f.submit "Create only name" %>
<% end %>