Class: Locomotive::RteInput

Inherits:
Formtastic::Inputs::TextInput
  • Object
show all
Defined in:
app/inputs/locomotive/rte_input.rb

Instance Method Summary collapse

Instance Method Details

#to_htmlObject



4
5
6
7
8
9
10
# File 'app/inputs/locomotive/rte_input.rb', line 4

def to_html
  input_wrapping do
    label_html <<
    builder.text_area(method, input_html_options) <<
    template.(:span, '', :class => 'error-anchor')
  end
end