I want to add a drupal form to the top of a view. The view does not need to receive the results of the form but the _submit hook of the form should be able to read the first argument of the view that the form was on.
Where is the best place to add this? Custom module or template file and what are the necessary filenames/hooks?