   (:require-macros [cljs.core.async.macros :refer [go go-loop]])
   (:require [chimera.js-interop :refer [safe-regex]]
             [chimera.urls :refer [last-url-param url]]
+            [chimera.seq :refer [in?]]
             [cljs.core.async :refer [<! chan put! timeout]]
             [om.core :as om :include-macros true]
             [om.dom :as dom :include-macros true]

   each of whose value is a function of the form (fn [event args]) as described
   in the SlickGrid documentation for event handlers.
   https://github.com/mleibman/SlickGrid/wiki/Getting-Started"
  (let [active? (-> app-state
                    :views
                    :active
                    set
                    (contains? :table))]
    (reify
      om/IRender
      (render [_]

              (om/build submission-view
                        (with-info (get-in app-state
                                           [:table-page :submission-clicked]))
                        {:opts (merge (select-keys opts
                                                   #{:delete-record! :role})
                                      {:view :table})})
              (om/build table-header app-state)
              [:div {:id table-id :class "slickgrid"}
