Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 787 Bytes

README.md

File metadata and controls

42 lines (30 loc) · 787 Bytes

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.10.1.

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
 */