Skip to content

Commit

Permalink
Add class attributes to input fields in bootstrap3 renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan Scherpenisse committed Dec 3, 2015
1 parent 340e3bb commit a31c083
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 a31c083

Please sign in to comment.