Method: Cms::FormBuilder#text_editor

Defined in:
app/helpers/cms/form_builder.rb

#text_editor(method, options = {}) ⇒ Object

Renders a WYWIWYG editor without the ‘type’ selector.



115
116
117
118
119
120
121
# File 'app/helpers/cms/form_builder.rb', line 115

def text_editor(method, options = {})
  @template.send(
      "text_editor",
      @object_name,
      method,
      objectify_options(options))
end