Sha256: 8f18154085323a68680b6b22e2dfaeb808f7cc0845a176216b9efd06e0294024

Contents?: true

Size: 1.14 KB

Versions: 13

Compression:

Stored size: 1.14 KB

Contents

# Parsley.js for Rails Asset Pipeline

[Parsley.js](https://github.com/guillaumepotier/Parsley.js) is an awesome form validation library ([documentation](http://parsleyjs.org/documentation.html)). 
This gem makes it easy to use it with Rails Asset Pipeline.

## Installation

Add this line to your application's Gemfile:

    gem "parsley-rails"

And then execute:

    $ bundle

## Usage

Add the following to your `app/assets/javascripts/application.js`:

    //= require jquery
    //= require parsley

To use the `extend` library, add this right after:

    //= require parsley.extend

Finally, if you want to use a different i18n:

    //= require parsley.i18n.fr

See the complete [Parsley.js documentation](http://parsleyjs.org/documentation.html).

## Versions

The gem follows Parsley.js's versions. If the gem version is `1.1.10.0`, then `1.1.10` is a version of Parsley.js and `0`
is a patch level of the gem itself.

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
parsley-rails-1.2.4.0 README.md
parsley-rails-1.2.3.0 README.md
parsley-rails-1.2.2.0 README.md
parsley-rails-1.2.1.0 README.md
parsley-rails-1.2.0.0 README.md
parsley-rails-1.1.18.0 README.md
parsley-rails-1.1.17.0 README.md
parsley-rails-1.1.16.0 README.md
parsley-rails-1.1.15.0 README.md
parsley-rails-1.1.14.0 README.md
parsley-rails-1.1.13.0 README.md
parsley-rails-1.1.12.0 README.md
parsley-rails-1.1.11.0 README.md