Skip to content

An alternate stylesheet for Chosen that integrates with Bootstrap and Rails.

License

Notifications You must be signed in to change notification settings

RoryStolzenberg/bootstrap-chosen-rails

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bootstrap-chosen-rails

An alternate stylesheet for Chosen that integrates with Bootstrap and Rails asset pipeline.

This is a port of bootstrap-chosen into the rails asset pipeline. All credit goes to that person.

Installation

Add this line to your application's Gemfile:

gem 'bootstrap-chosen-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install bootstrap-chosen-rails

Usage

To use bootstrap-chosen-rails, just add it after you have imported bootstrap and the original chosen css.

Import Bootstrap-Chosen styles in app/assets/stylesheets/application.scss:

// "bootstrap" and "chosen" must be imported before "bootstrap-chosen"
@import "bootstrap-sprockets";
@import "bootstrap";
@import "chosen";
@import "bootstrap-chosen";

Credits

Thanks to Alxlit for creating the scss to make this possible!

About

An alternate stylesheet for Chosen that integrates with Bootstrap and Rails.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%