bootstrap_form
bootstrap_form copied to clipboard
Add global config options
trafficstars
It would be nice if we add support for global config options to avoid the necessity of defining them all the time.
:+1: +1 for this feature
:-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.
Closing this issue as obsolete and not concrete enough. Open a new issue if you need a specific global config.