Sha256: 24bda63d6449a2df4e6bd835530047fc3cb6c6cefde790abb9e41fae8c9c8503
Contents?: true
Size: 236 Bytes
Versions: 4
Compression:
Stored size: 236 Bytes
Contents
module BooterHelper def nice_form_for(object, options = {}, &block) options[:builder] = BootstrapFormBuilder options[:html] ||= {} options[:html][:class] = 'form-horizontal' form_for(object, options, &block) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
booter-0.3.1 | app/helpers/booter_helper.rb |
booter-0.3.0 | app/helpers/booter_helper.rb |
booter-0.2.3 | app/helpers/booter_helper.rb |
booter-0.2.2 | app/helpers/booter_helper.rb |