             [:div.col-md-12.text-center
              [:p.lead {:style {:padding-top 30}}
               "Charting in Internet Explorer version " agent/VERSION " coming soon."]])])))))
-

          [:div {:id "sensors-table"}
           (om/build (sensors-table editing-chan) data {:opts {:histkey :sensors
                                                               :path    :readings}})]
          
          [:div {:id "sensor-edit-div" :class (if editing "" "hidden")}
           (om/build (sensor-edit-form data) (:sensor-edit data))]
          ;; FIXME: We should have better handling for IE8 here.

                     :defaultChecked (get row :actual_annual "")
                     :on-change #(om/set-state! owner [:sensor :actual_annual] (.-checked (.-target %)))}]]]]])))))

(defn form-row [data chart history table-id editing-chan]
  (fn [cursor owner]
    (reify
      om/IRender
