Sha256: 23e8e816e7d824b16431d614db6236cce7f3460e1a95b6d0bac28f6a729f91d1
Contents?: true
Size: 769 Bytes
Versions: 4
Compression:
Stored size: 769 Bytes
Contents
module Binco module FormHelper 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 def materialize_form_for(record, options = {}, &block) options[:builder] = MaterializeFormBuilder form_for(record, options, &block) end def materialize_form_tag(url_for_options = {}, options = {}, &block) options[:acts_like_form_tag] = true options[:url] = url_for_options materialize_form_for("", options, &block) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
binco-2.0.1 | app/helpers/binco/form_helper.rb |
binco-3.1.0 | app/helpers/binco/form_helper.rb |
binco-3.0.2 | app/helpers/binco/form_helper.rb |
binco-3.0.1 | app/helpers/binco/form_helper.rb |