<%= form_for(@kk) do |f| %> <% if @kk.errors.any? %>

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

<% end %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :price %>
<%= f.text_field :price %>
<%= f.label :qty %>
<%= f.number_field :qty %>
<%= f.submit %>
<% end %>