                            :data-billing-method (:billing-method %)
                            :value value}
                       (:text %))) options)))))))
-        ;[:form#post-new-entry-bar.navbar-form.navbar-form-post-new-entry-bar
-         ;{:ref (fn [form] (aset this "form" form))}
-         ;[:select
-          ;{:name "post-new-entry-bar"
-           ;:placeholder "Post new entry..."
-           ;:defaultValue select-value}
-          ;[:option
-           ;{:value ""}
-           ;""]
-          ;(map #(let [value (str (:project-id %) "," (:task-id %))]
-                  ;[:option
-                   ;{:key value
-                    ;:data-project-id (:project-id %)
-                    ;:data-task-id (:task-id %)
-                    ;:data-billing-method (:billing-method %)
-                    ;:value value}
-                   ;(:text %)]) options)]]))))
   ;(letfn [(get-selectize [this] (.. (js/$ (aget this "form"))
                                      ;(find "select")
                                      ;(get 0)

(defn entry-bar-form' [for-state owner]
  (log "data %o" for-state)
  (reify
    om/IRender
    (render [_]
      (let [options (:options for-state)

                           (str projectId "," taskId) "")]
        (dom/form
          #js {:id "post-new-entry-bar"
               :className "navbar-form navbar-form-post-new-entry-bar"
               :ref "the-form"}
          (dom/select
            #js {:name "post-new-entry-bar"
                 :placeholder "Post new entry..."
