Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Add shift-click selection to a list of checkboxes.

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 Rakefile
Octocat-spinner-32 eligo-rails.gemspec


Add simple shift-click multi-select to a list of checkboxes.

Build Status


Eligo is packaged as a gem that can be dropped into a Rails 3.1 app thanks to the asset pipeline. Add the eligo-rails gem to your Gemfile:

gem 'eligo-rails'

The JavaScript file shift_clickable is now available to require and use.

    <input type="checkbox">
    Arthur Dent
    <input type="checkbox">
    Ford Prefect
    <input type="checkbox">
    Tricia McMillan
    <input type="checkbox">
    Zaphod Beeblebrox
#= require shift_clickable

$ -> $('ul').shiftClickable()

Clicking on Arthur and then shift-clicking on Zaphod will also select both Ford and Tricia.

Something went wrong with that request. Please try again.