Method: Formtastic::Inputs::Base::Stringish#to_html

Defined in:
lib/formtastic/inputs/base/stringish.rb

#to_htmlObject

This method is abstract.

Override this method in your input class to describe how the input should render itself.



8
9
10
11
12
13
# File 'lib/formtastic/inputs/base/stringish.rb', line 8

def to_html
  input_wrapping do
    label_html <<
    builder.text_field(method, input_html_options)
  end
end