O'Reilly logo

Backbone.js Cookbook by Vadim Mirgorod

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Customizing a form with the Bootstrap framework

Default backbone-form's styles look pretty boring, and we may want to replace them with something cool like Bootstrap. In this case, our form will look much better, as shown in the following screenshot:

Customizing a form with the Bootstrap framework

Here we also use a List element (aka editor) to allow the user to input invoice item details. When user clicks on the Add button, the following popup is generated and shown to the user:

Customizing a form with the Bootstrap framework

Getting ready

Follow these steps to be prepared to use Bootstrap.js:

  1. Download the Bootstrap framework archive from its GitHub ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required