How would make this a helper? I would like to send in some parameters as a hidden field dynamically. <% form_for :file, :url => file_upload_path(:format => ''js''), :html => { :multipart => true, :target => ''upload_file'', :id => ''fileupload'' } do %> <b>File:</b> <%= file_field_tag :upload %> <%= hidden_field_tag ''w_id'', @work.id %> <%= submit_tag ''Upload File'' %> <% end %> -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.