Sha256: 334dda018a48b34cf754bcfc549c103b6c87de701f46aa35dfaaa757221eefea

Contents?: true

Size: 273 Bytes

Versions: 5

Compression:

Stored size: 273 Bytes

Contents

module BootstrapsBootstraps
  module BootstrapFormHelper
    #merely setup the form_for to use our new form builder
    def bootstrapped_form object, options={}, &block
      options[:builder] = BootstrapFormBuilder
      form_for object, options, &block
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bootstraps_bootstraps-2.0.3 lib/bootstraps_bootstraps/bootstrap_form_helper.rb
bootstraps_bootstraps-2.0.2 lib/bootstraps_bootstraps/bootstrap_form_helper.rb
bootstraps_bootstraps-2.0.1 lib/bootstraps_bootstraps/bootstrap_form_helper.rb
bootstraps_bootstraps-2.0.0 lib/bootstraps_bootstraps/bootstrap_form_helper.rb
bootstraps_bootstraps-0.0.1 lib/bootstraps_bootstraps/bootstrap_form_helper.rb