Sha256: 1aefcc77734d80c352ee6c8e7938cf0b20822a5e6f774c51f454d3bd858ba6dc
Contents?: true
Size: 405 Bytes
Versions: 3
Compression:
Stored size: 405 Bytes
Contents
module Rich module FormtasticBuilder def self.included(base) base.send(:include, InstanceMethods) end module InstanceMethods def rich_input(method, options) html_options = options.delete(:input_html) || {} self.label(method, options_for_label(options)) << self.send(:rich_textarea, sanitized_object_name, method, html_options) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rich-0.0.3 | lib/rich/legacy_formtastic.rb |
rich-0.0.2 | lib/rich/legacy_formtastic.rb |
rich-0.0.1 | lib/rich/legacy_formtastic.rb |