stouset / twitter_bootstrap_form_for

A Rails FormBuilder DSL for generating Twitter Bootstrap forms
https://github.com/stouset/twitter_bootstrap_form_for
MIT License
409 stars 110 forks source link

text_field :add_on option doesn't respect value #60

Closed chrisrohr closed 11 years ago

chrisrohr commented 12 years ago

It is generating the input-prepend/input-append class correctly, but it looks like the bootstrap markup requires the add-on span to come before the input for prepend. Because the span is added in the block of text_field it always gets added after. I have only tried this on the bootstrap-2.0 branch.

stouset commented 11 years ago

Fixed in 4e338d1