Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Build a Simple Ruby on Rails Application Customizing Forms Installing simple_form

form-horizontal is no working with bootstrap current version.

As in the video form-horizontal is used with simple_form_for to make the labels and fields display side by side, with current version of bootstrap, it is not working. Is there any other method can be used to display this form.

3 Answers

http://stabco.tumblr.com/post/59760641051/simple-form-bootstrap3-integration

That may help with fixing the issue until simple_form is fixed. I ended up switching to bootstrap_form_for instead for the time being for the tutorial, and it is working well for me!

Gwenaël Magnenat
Gwenaël Magnenat
14,617 Points

Examples in this demo applications show you how to make the form-horizontal work.

https://github.com/rafaelfranca/simple_form-bootstrap