Repository is archived
No commit activity in last 3 years
No release in over 3 years
formtastic-plus-bootstrap makes a formtastic form to look like a bootstrap form.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Formtastic meets Bootstrap

Dependency Status

formtastic-plus-bootstrap makes a formtastic form to look like a bootstrap form.

Installation

Add following lines to Gemfile:

gem "formtastic", "~> 2.2"
gem "formtastic-plus-bootstrap"

Run bundle install.

Usage

Add following lines in app/assets/stylesheets/application.css:

/*
 ...
 *= require bootstrap-without-forms
 *= require formtastic-plus-bootstrap
 ...
 */

If you use bootstrap-responsive, also add the following additional line:

/*
 *= require bootstrap-responsive
 *= require formtastic-plus-bootstrap/responsive
 */

All done. Enjoy nice looking forms!

Why should I use formtastic-plus-bootstrap instead of formtastic-bootstrap?

formtastic-bootstrap changes html-structure and breaks 3rd party extensions for formtastic. formtastic-plus-bootstrap is just css-styles for standard formtastic forms.