No commit activity in last 3 years
No release in over 3 years
An alternate stylesheet for Chosen that integrates with Bootstrap and Rails asset pipeline.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

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!