stouset / twitter_bootstrap_form_for

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

text_field :add_on option doesn't respect value #60

Closed chrisrohr closed 12 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 12 years ago

Fixed in 4e338d1