module Godmin::Redactor::Helper

Public Instance Methods

redactor_area(attribute, options = {}, html_options = {}) click to toggle source
# File lib/godmin/redactor/helper.rb, line 4
def redactor_area(attribute, options = {}, html_options = {})
  text_area(attribute, html_options.deep_merge(data: {
    behavior: "redactor",
    options: options
  }))
end