     [:div {:class "row"}
      [:div {:class "col-xs-12"}
       [:div.form-group
-       [:div.col-sm-2 [:input.form-control {:id "sText" :type "text"
-                                            :placeholder "Search By Title" :on-change search}]]
-       ;; [:input {:type "button" :value "Search"
-       ;;          :class "btn btn-primary" :on-click search}]
+       [:div.col-sm-2 [:input.form-control {:id "dt1" :type "date"}]]
+       [:div.col-sm-2 [:input.form-control {:id "dt2" :type "date"}]]
+       [:div.col-sm-2 [:input.form-control {:id "dt" :type "text"
+                                            :placeholder "Search By Title"}]]
+       [:input {:type "button" :value "Search"
+                :class "btn btn-primary" :on-click search}]
        (url-format "#/documents/add" "Document")]
       [:div {:class "box-body"}
 

(declare render-documents)

(defn search [event]
  (let [stext (.-value (.getElementById js/document "sText"))
        onres (fn [json]
                (r/render [render-documents (getdata json)]
                          (.getElementById js/document "app1")))]
    (http-get (str "http://localhost:8193/documents/title/" stext) onres)))

(defn row [label input]
  [:div.row

            [goog.structs :as structs]
            [cljs-time.format :as f]
            [cljs-time.core :as tt]
            [cljsjs.react-bootstrap]
            [clojure.string :as st])
  (:import goog.History
           goog.json.Serializer))

