     [goog.string :as gstring]
     [om-bootstrap.button :as obb]
     [om-bootstrap.input :as obi]
-    [om-bootstrap.table :as obt]))
+    [om-bootstrap.table :as obt]
+    [om-bootstrap.random :as obr]))
 
 (def money-format "%.02f")
 

      (put! actions {:type :add-payment :args state})
      (om/set-state! owner :errors errors))))

(defn enter-payment [app owner]
  (reify
    om/IInitState

        (dom/div {:class "col-sm-6 component"}
                 (dom/form
                   (obi/input {:type "text" :placeholder "Location" :value location :on-change #(handle-change % owner :location)})
                   (show-error "Location" (get-in state [:errors :location]))
                   (obi/input {:type "text" :placeholder "Amount" :value amount :on-change #(handle-change % owner :amount)})
                   (show-error "Amount" (get-in state [:errors :amount]))
                   (obb/button-group {:justified? true}
                                     (obb/button-group {} (obb/button { :bs-style "success" :on-click (fn [e] (.preventDefault e) (add-payment actions owner state) nil) } "Add")))))))))

