<%= form_for @hpsfile, :url => "/cuser/member/#{@hpsfile.id.to_s}/update_file_upload" do |f| %> <%= render :partial => "form", :locals => {:f => f} %> <% end %>