bootstrap_form icon indicating copy to clipboard operation
bootstrap_form copied to clipboard

Add global config options

Open potenza opened this issue 11 years ago • 2 comments
trafficstars

It would be nice if we add support for global config options to avoid the necessity of defining them all the time.

potenza avatar Feb 18 '14 20:02 potenza

:+1: +1 for this feature

qcam avatar Jul 22 '14 06:07 qcam

:-1: It's trivial to create a view helper that wraps bootstrap_form_for. For example:

def horizontal_bootstrap_form_for(object, options = {}, &block)
  options[:layout] = :horizontal
  bootstrap_form_for(object, options, &block)
end

Gives you more flexibility compared to global settings too.

GBH avatar Jan 13 '18 23:01 GBH

Closing this issue as obsolete and not concrete enough. Open a new issue if you need a specific global config.

donv avatar Sep 08 '23 12:09 donv