Sha256: 273520349513af5e4b8b96ae57076f0a2b678c390ce7ef52fa2ea356fa4f7d4d

Contents?: true

Size: 414 Bytes

Versions: 1

Compression:

Stored size: 414 Bytes

Contents

module BootstrapFormBuilder
  module Helpers
    def bootstrap_form_for(*args, &block)
      options = args.extract_options!
      form_for(*args, options.merge(builder: BootstrapFormBuilder::FormBuilder), &block)
    end

    def bootstrap_fields_for(*args, &block)
      options = args.extract_options!
      fields_for(*args, options.merge(builder: BootstrapFormBuilder::FormBuilder), &block)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bootstrap_form_builder-0.0.1 lib/bootstrap_form_builder/helpers.rb