README.md in parsley-rails-2.0.0.0 vs README.md in parsley-rails-2.0.0.1
- old
+ new
@@ -1,8 +1,8 @@
# Parsley.js 2.0.0 for Rails Asset Pipeline
-[Parsley.js](https://github.com/guillaumepotier/Parsley.js) is an awesome form validation library ([documentation](http://parsleyjs.org/doc/index.html)).
+[Parsley.js](https://github.com/guillaumepotier/Parsley.js) is an awesome form validation library ([documentation](http://parsleyjs.org/doc/index.html)).
This gem makes it easy to use it with Rails Asset Pipeline.
## Installation
Add this line to your application's Gemfile:
@@ -18,23 +18,26 @@
Add the following to your `app/assets/javascripts/application.js`:
//= require jquery
//= require parsley
-To use the `remote` library, add this right after:
+To use the `remote` library or a different i18n, add this right after:
//= require parsley.remote
+ //= require parsley.i18n.fr
-Finally, if you want to use a different i18n:
+Finally, if you want to use the default CSS, add the following to your
+`app/assets/stylesheets/application.css`:
- //= require parsley.i18n.fr
+ *= require parsley
+
See the complete [Parsley.js documentation](http://parsleyjs.org/doc/index.html).
## Versions
-The gem follows Parsley.js's versions. If the gem version is `2.0.0.0`, then `2.0.0` is a version of Parsley.js and `0`
-is a patch level of the gem itself.
+The gem follows Parsley.js' versions. If the gem version is `2.0.0.0`, then `2.0.0` is the version of Parsley.js and `0`
+is the patch level of the gem itself.
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)