# X-editable for Rails asset pipeline [X-editable](https://github.com/vitalets/x-editable) is an in-place editing plugin with support for Twitter Bootstrap, jQuery UI or pure jQuery. The `bootstrap-x-editable-rails` gem integrates `X-editable` with the Rails asset pipeline. This gem only supports the Bootstrap part of X-editable. ## Usage ### Install bootstrap-x-editable-rails gem Include `bootstrap-x-editable-rails` in Gemfile gem 'bootstrap-x-editable-rails' Then run `bundle install` ### Include X-editable javascript Add to your `app/assets/javascripts/application.js` #### Popup version //= require bootstrap-editable #### Inline version //= require bootstrap-editable-inline ### Include X-editable stylesheet Add to your `app/assets/stylesheets/application.css` *= require bootstrap-editable