Skip to content
This repository has been archived by the owner on Nov 21, 2017. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

antage/formtastic-plus-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published