Add Select2 jQuery plugin

This commit is contained in:
Julius 2013-06-17 16:05:23 +02:00
parent 9502ca28dd
commit 6e6cce1cb7
4 changed files with 8 additions and 1 deletions

View file

@ -17,6 +17,7 @@ group :assets do
end end
gem 'jquery-rails' gem 'jquery-rails'
gem 'select2-rails'
gem 'mysql2' gem 'mysql2'

View file

@ -200,6 +200,9 @@ GEM
railties (~> 3.2.0) railties (~> 3.2.0)
sass (>= 3.1.10) sass (>= 3.1.10)
tilt (~> 1.3) tilt (~> 1.3)
select2-rails (3.4.2)
sass-rails
thor (~> 0.14)
simple-navigation (3.9.0) simple-navigation (3.9.0)
activesupport (>= 2.3.2) activesupport (>= 2.3.2)
simple-navigation-bootstrap (0.0.4) simple-navigation-bootstrap (0.0.4)
@ -282,6 +285,7 @@ DEPENDENCIES
resque resque
ruby-prof ruby-prof
sass-rails (~> 3.2.3) sass-rails (~> 3.2.3)
select2-rails
simple-navigation simple-navigation
simple-navigation-bootstrap simple-navigation-bootstrap
simple_form simple_form

View file

@ -1,6 +1,7 @@
//= require jquery //= require jquery
//= require jquery-ui //= require jquery-ui
//= require jquery_ujs //= require jquery_ujs
//= require select2
//= require twitter/bootstrap //= require twitter/bootstrap
//= require jquery.tokeninput //= require jquery.tokeninput
//= require bootstrap-datepicker //= require bootstrap-datepicker

View file

@ -1,4 +1,5 @@
/* /*
*= require bootstrap_and_overrides *= require bootstrap_and_overrides
*= require select2
*= require token-input-bootstrappy *= require token-input-bootstrappy
*/ */