<div class="main2"> <%= form_tag '',:multipart => true,:action=>"post" do |f| %> <p> <%= file_field :design,:package_file %> </p> <%= submit_tag %> <% end %> </div>