                                       (on-save (:summary state) (:date-time state) (:notes state))))}
           "Save")))))
 
-(defn item-view [cursor component]
+(defn item-view [cursor component options]
   (reify
     om/IInitState
     (init-state [this]

                           :onClick (fn [e]
                                      (om/set-state! component :editing? true))}
            "Edit")
          (dom/div nil (:summary cursor))
          (dom/div nil (:date-time cursor))
          (dom/div nil (:notes cursor)))))))

(defn item-table [cursor component]
  (reify

                                    (om/set-state! component :editing? true))}
          "New entry")
        (apply dom/div nil
          (for [[i entry] (map vector (range) (:entries cursor))]
            (om/build item-view entry
              {:opts {:on-delete (fn []
                                   (om/transact! cursor :entries #(delete % i)))}})))
        (when (or (:editing? state)
                (empty? (:entries cursor)))
          (dom/div nil
