Sha256: 35429e88c17338fb1f44f97300c6a3b6dd42841c8197520ce81f6d59a92dca61

Contents?: true

Size: 774 Bytes

Versions: 1

Compression:

Stored size: 774 Bytes

Contents

# Bootstrap Generators

## Installation

Add it to your Gemfile:

  `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`.

Run the generator:

  `rails generate bootstrap:install`

Once you've done that, any time you generate a controller or scaffold, you'll get [Bootstrap](http://twitter.github.com/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`

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bootstrap-generators-1.0.0 README.md