     (fn [tea]
       (if @edit?
         [:tr
-          [:td
-            [:input.form-control {:type "text"
-                                  :value @tmp-edit
-                                  :on-change #(reset! tmp-edit (value-event %))}]
-            [:button.btn.btn-success.pull-right
-              {:on-click (fn [e]
-                          (re-frame/dispatch
-                            [:replace-tea tea @tmp-edit])
-                          (swap! edit? not))}
-              "Finalize"]]]
+         [:td
+          [:input.form-control {:type "text"
+                                :value @tmp-edit
+                                :on-change #(reset! tmp-edit (value-event %))}]
+          [:button.btn.btn-success.pull-right
+           {:on-click (fn [e]
+                        (re-frame/dispatch
+                          [:replace-tea tea @tmp-edit])
+                        (swap! edit? not))}
+           "Finalize"]]]
         [:tr
-          [:td.pull-left {:on-click #(swap! edit? not)} (:name tea)]]))))
+         [:td.pull-left {:on-click #(swap! edit? not)} (:name tea)]]))))
 
 (defn tealister
   "The page component for listing tea"

             :handler (fn [] (println "New Tea Posted"))
             :error-handler (fn [err] (println "New Tea Failed To Post" err))))


(defn update-edit-form
  "show/hide the show-edit-form"
  [id name]
  (println "update-edit-form" id "||" name "||" show-edit "||" @show-edit)
  (reset! edit-tea-id (second id))
  (reset! edit-tea (second name))
  (reset! edit-tea-snap (second name)))

(defn value-event
  [event]
  (-> event .-target .-value))

  (let [teas (re-frame/subscribe [:teas])]
    (fn []
      [:div.row
       [:table.table.table-striped
        [:thead
         [:tr
          [:th "Tea Name"]]]
        [:tbody
         (for [tea @teas]
           ^{:key tea}
           [tea-edit-toggler tea])]]])))

(defn tea-adder
  "A component for the tea-adder form"
