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