Sha256: 3519ca285675b7e4898060658c8fe8af260d6923e38ccaa450499c9a7cb41277
Contents?: true
Size: 410 Bytes
Versions: 3
Compression:
Stored size: 410 Bytes
Contents
module Binco module BootstrapFormHelper def bootstrap_form_for(record, options = {}, &block) options[:builder] = BootstrapFormBuilder form_for(record, options, &block) end def bootstrap_form_tag(url_for_options = {}, options = {}, &block) options[:acts_like_form_tag] = true options[:url] = url_for_options bootstrap_form_for("", options, &block) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
binco-0.0.3 | app/helpers/binco/bootstrap_form_helper.rb |
binco-0.0.2 | app/helpers/binco/bootstrap_form_helper.rb |
binco-0.0.1 | app/helpers/binco/bootstrap_form_helper.rb |