 (defn refresh-button-component [match]
   [:button
    {:type "submit"
-    :class "btn btn-default"
+    :class "btn btn-default refresh-button"
     :on-click #(refresh-match match)} "Refresh"])
 
 (defn match-component [player1 player2 match]

    [:div.match
     (format-player-component @player1 (nth characters 0))
     (format-player-component @player2 (nth characters 1))
     (format-style-component style)]))

(defn format-player-component [player-name character-name]
  [:p (str player-name " is " character-name)])

(defn format-style-component [style]
  [:p (str "The style is " (:name style))])

;; -------------------------
;; Routes

     :class "player-name-input"
     :value @player
     :on-change #(reset! player (-> % .-target .-value))}]
   [:img.hero-image {:src (str "images/" hero ".png")}]]  )

(defn refresh-match [match]
  (reset! match (hs/get-match)))
