formtastic

    4зной

    2ответ

    <% semantic_form_for(@product, :html => {:multipart => true}) do |f| %> <% f.inputs do %> <%= f.input :name %> <%= f.input :price %> <%= f.input :pno %> <%= f.input :desc