form_for helper?

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>&nbsp;
  <%= file_field_tag :upload %>&nbsp;
  <%= hidden_field_tag 'w_id', @work.id %>
  <%= submit_tag 'Upload File' %>&nbsp;
<% end %>