        {:enctype "multipart/form-data"}
        [:post (format "/%s/%s/custom-confirm" year issue)]
        (anti-forgery-field)
-       (form/file-upload "file")
+       [:div.form-group
+        (form/label "file" "File:")
+        (form/file-upload {:required "required"} "file")]
        (query-field nil)
        (customer-field nil)
        (format-field :pdf)

  [query]
  [:div.form-group
   (form/label "query" "Query:")
   (form/text-area {:class "form-control" :rows 3} "query" query)])

(defn- customer-field
  [customer]
  [:div.form-group
   (form/label "customer" "Customer:")
   (form/text-field {:class "form-control"} "customer" customer)])

(defn- format-field
  [selected]

              [:post (format "/%s/%s/custom" year issue)]
              (anti-forgery-field)
              (form/hidden-field "items" (prn-str items))
              (form/hidden-field "query" query)
              (form/hidden-field "customer" customer)
              (form/hidden-field "fmt" fmt)
              (layout/button (format "/%s/%s/custom" year issue) "Cancel")
              (form/submit-button {:class "btn btn-default"} "Upload Anyway"))))
          (do
            ;; FIXME: add the file
            ;; and redirect to the index
