rails-backbone-forms

This gem provides a version of the backbone-forms library designed to work with the Rails 3.1 asset pipeline. It is versioned to match the backbone-forms library and currently supports 0.14.0.

Install

gem 'rails-backbone-forms'

Configure

In application.js, add the following:

//= require backbone-forms

If you're using bootstrap and want to use backbone-form's templates for it, you can instead use:

//= require backbone-forms-bootstrap

Same deal with application.css:

/*
 *= require backbone-forms
 */

Or, for bootstrap:

/*
 *= require backbone-forms-bootstrap
 */