 (defn tea-edit
   "The component of the form"
   []
-  [:div.form-group 
+  [:div.form-group
    [:div.row
     [:div.col-md-12
      [:div.p (str "Preview: " (or @edit-tea-snap "*no tea selected*") " -> " (or @edit-tea "*no tea selected*"))]
      [:div.p]
-     [:form 
+     [:form
       [:input.form-control {:field :text :id :change-tea :value @edit-tea :on-change #(reset! edit-tea (-> % .-target .-value))}]
       [:input.btn.btn-info {:type "submit" :value "Update Tea Name" :on-click #((update-tea @edit-tea-id @edit-tea)
                                                                                 (reset! edit-tea nil)


(secretary/defroute "/list-page" []
  (session/put! :page :list-page))
 

;; -------------------------
;; History

;; this passes the value of the new tea atom into the post-to-teas-db function

(defn list-page []
    [:div.container
     [:div.row
      [:div.col-md-12
       "Here is a list of teas"]]
