         (condp = (:type term)
           :form (om/build form term {:opts opts})
           :item-group (om/build item-group term {:opts opts})
-          :item (om/build item term {:opts opts})))
+          :item (om/build item term {:opts opts})
+          :code-list-item (om/build code-list-item term {:opts opts})))
       (d/div {:class "query-col-or-badge text-muted"} "OR"))))
 
 (defn show-item-dialog! [owner query-idx col-idx]

        (or (:question item) "loading..."))
      (when (s/is-numeric? item)
        (d/div {:id (cell-id opts id) :style {:height "200px"}})))))

(defn query-grid-cell-mouse-leave [state]
  (assoc state :hover false :dropdown-hover false :dropdown-active false))

                   [plumbing.core :refer [fnk]]
                   [lens.macros :refer [h]])
  (:require [cljs.core.async :as async]
            [cljs.reader :as reader]
            [om.core :as om :include-macros true]
            [om-tools.core :refer-macros [defcomponent]]
            [om-tools.dom :as d :include-macros true]
