This is a simple gem that wraps some components of Bootstrap.
This is a simple gem that wraps some components of Bootstrap. It provides unified components using helpers, faces to someone isn't very familiar with HTML and CSS or doesn't like using them throughout the pages such as some CRM projects.
It's compatible with Rails 4+ and Bootstrap 2.3.2.
Notice: This gem has included bootstrap-sass and bootstrap-modal-rails for you.
Add this line to your application's Gemfile:
gem 'bootstrap-component-helper', '~> 0.2.3'
And then execute:
$ bundle install
Add assets
Execute the installation generator:
$ rails g bootstrap:component_helper:install
Visit Examples and read the comments of app/helpers/*.rb, A dummy Rails project had been added to test directory. In order to use it:
$ cd test/dummy
$ rails s
http://localhost:3000
to view examples locally.git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)