Class: ContentInput
- Inherits:
-
Formtastic::Inputs::StringInput
- Object
- Formtastic::Inputs::StringInput
- ContentInput
- Defined in:
- lib/hellobase/formtastic/content_input.rb
Instance Method Summary collapse
Instance Method Details
#to_html ⇒ Object
2 3 4 5 6 7 |
# File 'lib/hellobase/formtastic/content_input.rb', line 2 def to_html input_wrapping do label_html << template.content_tag(:span, [:content]) end end |