ad_page_contract {

@author Nick Kokkos
This is a simple form to upload a file. Afterwards we can use the listbuilder's edit options
to edit the title and description. Basically, it's part copy/paste from the photo-album's procs 
} {
     item_id:integer,optional
  }

   set package_id [ad_conn package_id]

   permission::require_permission \
          -object_id $package_id \
          -privilege admin

  
    ad_form -name photo_add -action photo_add_2 -html {enctype multipart/form-data} -form {

    {item_id:key}
 
   # build the form
    {upload_file:file(file)      	      {label "Choose a file to upload"} html {rows 1 cols 50} } 
 
} 

