   (:require [cljs.core.async :refer [<! >! chan put!]]
             [om.core :as om :include-macros true]
             [sablono.core :as html :refer-macros [html]]
-            [kixi.hecuba.bootstrap :refer (static-text) :as bs]
+            [kixi.hecuba.bootstrap :as bs]
             [kixi.hecuba.tabs.hierarchy.data :refer (fetch-property fetch-devices fetch-sensors)]
             [clojure.string :as string]
             [kixi.hecuba.common :refer (log delete-resource) :as common]

        (let [sort-spec                   (:sort-spec cursor)
              {:keys [sort-key sort-asc]} sort-spec
              th-chan                     (om/get-state owner :th-chan)
              ;; Don't show synthethic devices as they can't be edited by the user
              devices                     (into [] (remove #(:synthetic %) (fetch-devices (-> properties :selected) properties)))
              table-id                    "sensors-table"]
          (html
           [:div.col-md-12 {:style {:overflow "auto"}}

     (text-input-control cursor owner [:sensors sensor_id] :resolution "Resolution")
     (checkbox cursor owner [:sensors sensor_id] :actual_annual "Calculated Field")]))

(defn synthetic-sensor-edit-div [cursor owner]
  (let [sensor_id   (:sensor_id cursor)]
    [:div
     [:li.list-group-item
      (static-text cursor [:type] "Type")
      (static-text cursor [:unit] "Unit")
      (static-text cursor [:period] "Period")
      (checkbox cursor owner [:sensors sensor_id] :actual_annual "Calculated Field")]]))

(defn privacy-checkbox [cursor owner keys label]
  [:div.checkbox
   [:label
