ladda-rails

A thin wrapper around https://github.com/hakimel/Ladda .

If you copy files from the interwebs into your project, kittens die.

Do this instead (in your Gemfile):

gem "ladda-rails"

And, in your application.js and application.css:

//= require "spin"
//= require "ladda"
//= require "ladda.jquery" // only when you use jQuery already, see Ladda docs for usage

*= require ladda
*= require ladda-themed // this is optional - when you leave this out, it's equivalent to the "ladda-themeless.min.css from the Ladda project

====================================================================

original source https://github.com/Promptus/ladda-rails

I have forked that cause I am in a hurry to build a gem on rubygems.org

And I have updated the ladda version to 0.9.7