0

I'm working on styling up my scaffold form page in my rails 4 application and was wondering if anyone had some tips. Is it possible to easily make a bootstrap form and change some fields for the f.select , f.date_field, f.text_field parts of a scaffolded form?

I was also looking into this gem formtastic-bootstrap which may automatically do what I'm trying to.

parameter
  • 894
  • 2
  • 18
  • 35

1 Answers1

1

Formtastic and simple_form are great gems, but you don't need them to bootstrap your forms. However, formtastic-bootstrap does make it more convenient to apply bootstrap.

So if you want a quick solution AND a great formbuilder at the same time you could definitively use the gem. If you want to learn bootstrap on the other hand I would recommend to get down and dirty and manually add bootstrap to your forms based on the examples given on getbootstrap.com.

rails4guides.com
  • 1,441
  • 2
  • 11
  • 8