module Bootsy::FormBuilder
Public: Convenience module to include Bootsy
in `ActionView::Helpers::FormBuilder`.
Public Instance Methods
bootsy_area(method, options = {})
click to toggle source
Public: Return a textarea element with proper attributes to be loaded as a WYSIWYG editor.
method - The Symbol attribute name on the object assigned to the
form builder that will tailor the editor.
options - The Hash of options used to enable/disable features of
the editor (default: {}). Available options are:
# File lib/bootsy/form_builder.rb, line 15 def bootsy_area(method, options = {}) @template.bootsy_area(@object_name, method, objectify_options(options)) end