Skip to content

Commit

Permalink
Merge pull request #2 from arjan/bootstrap3-field-class
Browse files Browse the repository at this point in the history
Add class attributes to input fields in bootstrap3 renderer
  • Loading branch information
BenjaminVanRyseghem committed Dec 3, 2015
2 parents 340e3bb + a31c083 commit 60d884c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/formidable/render/bootstrap3.cljx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
(= :time-select (:type field)))
field (assoc field
:id field-id
:class (if checkbox? "" "form-control"))
:class (str (:class field) (if checkbox? "" " form-control")))
submit? (= :submit (:type field))
field (if submit?
(assoc field :class (str (:class field)
Expand Down

0 comments on commit 60d884c

Please sign in to comment.