mjbellantoni / formtastic-bootstrap

Formtastic form builder to generate Twitter Bootstrap-friendly markup.
MIT License
444 stars 217 forks source link

Boolean input prints label and hint twice (v 3.1) #126

Closed glampr closed 9 years ago

glampr commented 9 years ago

Boolean inputs print the label twice, once from bootstrap_wrapping before the checkbox and once after the label from label_text_with_embedded_checkbox. The one from bootstrap_wrapping needs not be included for boolean input. The same happens for the hint, it's printed from bootstrap_wrapping and again included explicitly in to_html.

fredngo commented 9 years ago

I believe this is a duplicate of https://github.com/mjbellantoni/formtastic-bootstrap/issues/118, which has been fixed, but the gem is still awaiting a new release (https://github.com/mjbellantoni/formtastic-bootstrap/issues/124)

sodabrew commented 9 years ago

Done! https://rubygems.org/gems/formtastic-bootstrap/versions/3.1.1

fredngo commented 9 years ago

Thanks!