Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Super simplified version of a Form Generator from Backbone.Models attributes.
branch: master
Failed to load latest commit information.
docs some change to readme and example page
examples
tests add minified version
bbf.js fix - properly handle exclude prop by having it store in options instead
bbf.min.js add minified version
package.json First commit.
readme.md

readme.md

bbf

Generates forms from Backbone.Model attributes.

Generated html should fit well with twitter bootstrap's forms layout, and templates precompiled function could be passed in to completely customize the form output.

disclaimer: I've made this to suit very specific need at work and decided to push it here upstream. If you're looking into a robust and mature solution to generates Forms from Backbone.Models, you should definitely take a look at the really neat powmedia/backbone-forms. It'll go far beyond what this bbf thing is able to do, and it'll do in a far far better way.

That beeing said, if you'd like to check out some more examples, you may want to take a look at this example page, see the annotated source code, or run the tests.

Something went wrong with that request. Please try again.