bootstrap-generators 0 ruby Rubygems

Bootstrap-generators provides Twitter Bootstrap generators for Rails 3

Bootstrap Generators

Bootstrap-generators provides Twitter Bootstrap generators for Rails 3.1. Bootstrap is a toolkit from Twitter designed to kickstart development of webapps and sites. Checkout http://twitter.github.com/bootstrap.

Rails 3.1 setup

This gem requires the use of rails 3.1.

Installation

In your Gemfile, add this line:

gem 'bootstrap-generators'

By default Bootstrap Generators requires SimpleForm. Add the dependency on your Gemfile:

gem 'simple_form', '~> 1.5'

If you don’t want to use SimpleForm, and instead use the default Rails form builder, just call the install generator with --form_builder=form_builder.

Then run the following commands:

bundle install

rails generate bootstrap:install

Once you’ve done that, any time you generate a controller or scaffold, you’ll get Bootstrap templates.

Form builders

Default Rails form builder

rails generate bootstrap:install --form_builder=form_builder

SimpleForm

rails generate bootstrap:install --form_builder=simple_form

Layouts

There are three layouts available, based on the quick-start examples:

To select one of these layouts just pass the option ‘–layout=LAYOUT’ to the install generator.

Related Repositories

bootstrap-generators

bootstrap-generators

Bootstrap-generators provides Twitter Bootstrap generators for Rails ...

Laravel-4-Generators-Bootstrap-3

Laravel-4-Generators-Bootstrap-3

Rapidly speed up your Laravel 4 workflow with generators ...

frontend-generators

frontend-generators

Rake tasks to add Bootstrap, Font Awesome, and Start Bootstrap Landing Pages to a Rails app ...

bootstrapped

bootstrapped

A gem containing Twitter’s Bootstrap CSS Project, a JQuery Plugin to simply user interface interactivity, and generators to make scaffolds sexy. ...

gemboree

gemboree

Bootstrap based generators for Rails with sorting and pagination built in ...


Top Contributors

decioferreira technicalpickles activefx

Releases

-   v1.4.0 zip tar
-   v1.0.1 zip tar
-   v1.0.0 zip tar
-   v0.0.6 zip tar
-   v0.0.5 zip tar
-   v0.0.4 zip tar
-   v0.0.3 zip tar
-   v0.0.2 zip tar
-   v0.0.1 zip tar