Skip to content

Commit

Permalink
More idiomatic hiccup.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias authored and xeqi committed Feb 3, 2013
1 parent 62a052d commit d51daaa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/clojars/web/common.clj
Expand Up @@ -57,8 +57,7 @@

(defn flash [msg]
(if msg
[:div {:id "flash"}
msg]))
[:div#flash msg]))

(defn error-list [errors]
(when errors
Expand Down

0 comments on commit d51daaa

Please sign in to comment.