Class: Formtastic::Inputs::UeditorInput

Inherits:
TextInput
  • Object
show all
Defined in:
lib/formtastic/inputs/ueditor_input.rb

Instance Method Summary collapse

Instance Method Details

#to_htmlObject



6
7
8
9
10
11
12
13
# File 'lib/formtastic/inputs/ueditor_input.rb', line 6

def to_html
  input_wrapping do
    label_html <<
      template.(:script, type: 'text/plain', id: 'ueditor', name: input_html_options[:name]) do
        object.send(method).try(:html_safe)
      end
  end
end