              [common :refer [translations]]
              [dtbook :as layout.dtbook]
              [fop :as layout.fop]
-             [obi :as layout.obi]]
+             [obi :as layout.obi]
+             [text :as layout.text]]
             [catalog.web.layout :as layout]
             [cemerick.friend :as friend]
             [clj-time

    {:class "form-control"} "fmt"
    [["PDF" :pdf]
     ["Grossdruck" :grossdruck]
     ["Braille" :braille]]
    selected)])

(defn custom-form [request year issue & [errors]]

      edn/read-string
      vubis/order
      (layout.dtbook/dtbook {:query query :customer customer})
      (xml-response (file-name :catalog-custom customer))))

(defmethod custom :plain-text [request year issue query customer fmt items]
  (-> items
      edn/read-string
      vubis/order
      (layout.text/text {:query query :customer customer})
      (text-response (file-name :catalog-custom customer))))
