GithubHelp home page GithubHelp logo

yoihito / multi-select-rails Goto Github PK

View Code? Open in Web Editor NEW

This project forked from klenis/multi-select-rails

0.0 1.0 0.0 239 KB

Multiselect jQuery plugin for Rails asset pipeline

License: MIT License

Ruby 9.20% JavaScript 80.92% CSS 9.88%

multi-select-rails's Introduction

Multiselect for Rails Gem Version

multi-select is a tiny jQuery plugin to customize selects with the multiple attribute.

The multi-select-rails gem integrates multi-select with the Rails asset pipeline.

Usage

Install multi-select-rails gem

Include multi-select-rails in Gemfile

gem 'multi-select-rails'

Then run bundle install

Include multiselect javascript

Add to your app/assets/javascripts/application.js

//= require multi-select

Include multiselect stylesheet

Add to your app/assets/stylesheets/application.css

*= require multi-select

Updating the gem

There are two rake tasks designed to ease the maintenance of this gem.

The update task pulls the latest multi-select code from github and places images, stylesheets and javascripts in the correct gem paths. It also changes background-image properties in the stylesheet to asset pipeline equivalents.

rake update

The build task is a simple wrapper for gem build

rake build

multi-select-rails's People

Contributors

klenis avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.