No release in over 3 years
Low commit activity in last 3 years
Twitter Bootstrap Components for Rails.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Twitter::Bootstrap::Components::Rails

Short description and motivation.

Upgrading to 1.0.0

Version 1.0.0 does not include jquery-rails by default anymore. You need to require the gem by yourself or load jquery from a cdn.

Usage

Add the helper to your application controller.

Bootstrap v3

class ApplicationController < ActionController::Base
  view_helper Twitter::Bootstrap::Components::Rails::V3::ComponentsHelper, as: :bootstrap_heper
end

Bootstrap v4

class ApplicationController < ActionController::Base
  view_helper Twitter::Bootstrap::Components::Rails::V4::ComponentsHelper, as: :bootstrap_heper
end

Installation

Add this line to your application's Gemfile:

gem 'twitter-bootstrap-components-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install twitter-bootstrap-components-rails

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.