<%= simple_form_for(@product) do |f| %> <%= f.error_notification %>
<%= f.input :name %> <%= f.input :description %> <%= f.input :short_description %> <%= f.input :price %> <%= f.input :weight %> <%= f.input :lenght %> <%= f.input :height %> <%= f.association :product_category %>
<%= f.button :submit, class: "btn btn-primary" %>
<% end %>