Twitter Bootstrap - Helpers

Installation

Add to your gem file and call bundle to install it.

gem twitter_bootstrap-helpers install

Usage

To use TwitterBootstrap::FormBuilder as in your form pass it as the builder option.

<%= form_for @post, builder: TwitterBootstrap::FormBuilder do |f| %>
    <%= f.text_field_control :subject %>
    <%= f.text_area_control :body %>
    <%= f.date_select_control :publish_on %>
<% end %>