Repository is archived
No release in over 3 years
Low commit activity in last 3 years
A gem that packages the bootstrap-sortable js library from https://github.com/drvic10k/bootstrap-sortable
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.6
>= 0

Runtime

 Project Readme

rails_bootstrap_sortable

Gem Version

This gem packages the lovely bootstrap-sortable gem from drvic10k/bootstrap-sortable into an easy to use form. rails_bootstrap_sortable adds the ability to sort bootstrap tables (or any type of table, for that matter) via Javascript by clicking on the headers of the table. The bootstrap-sortable gem is © 2015 Matúš Brliť (drvic10k), bootstrap-sortable contributors.

Installation

Add these lines to your rails project's Gemfile:

gem 'momentjs-rails'
gem 'rails_bootstrap_sortable'

Install the new gems:

$ bundle install

(for more info see rails_bootstrap_sortable on rubygems.org)

Add this line to application.css.scss:

*= require bootstrap-sortable

Add these lines to application.js.coffee:

//= require moment
//= require bootstrap-sortable

Usage

Please see dvic10k/bootstrap-sortable for full usage information.