Fork me on GitHub
#reagent
<
2015-10-23
>
escherize03:10:14

How would I make a button contain some hiccup as a :value? Basically I want the following to work:

[:input.btn.btn-primary.btn-hg
       {:type :button
        :value [:span description [:span.badge recipient-name]]}]

escherize03:10:03

so, since i'm not using it as a button but as a value to an :a, I've decided to do it like this:

[:a {:href "someplacespecial"}
      [:div.btn.btn-primary
       [:span description [:span.badge recipient-name]]]]

erik_price15:10:12

what HTML do you want to end up with?