README.md in bootstrap-x-editable-rails-1.5.1 vs README.md in bootstrap-x-editable-rails-1.5.1.1
- old
+ new
@@ -12,21 +12,32 @@
gem 'bootstrap-x-editable-rails'
Then run `bundle install`
-### Include X-editable javascript
+### Include X-editable for Boostrap 2
Add to your `app/assets/javascripts/application.js`
- //= require bootstrap-editable
+ //= require bootstrap-editable/bootstrap-editable
+
+
+Add to your `app/assets/stylesheets/application.css`
+ *= require bootstrap-editable/bootstrap-editable
-### Include X-editable stylesheet
+### Include X-editable for Boostrap 3
+
+Add to your `app/assets/javascripts/application.js`
+
+ //= require bootstrap3-editable/bootstrap-editable
+
+
Add to your `app/assets/stylesheets/application.css`
- *= require bootstrap-editable
+ *= require bootstrap3-editable/bootstrap-editable
+
## Updating the gem
There are two rake tasks designed to ease the maintenance of this gem.
The `update` task pulls the latest X-editable 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.