Class: Formtastic::Inputs::TextileEditorInput
- Inherits:
-
Object
- Object
- Formtastic::Inputs::TextileEditorInput
- Includes:
- Base, Base::Placeholder
- Defined in:
- lib/helpers/formtastic.rb
Instance Method Summary collapse
Instance Method Details
#input_html_options ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/helpers/formtastic.rb', line 21 def { cols: builder.default_text_area_width, rows: builder.default_text_area_height, class: 'textile_editor' }.merge(super) end |
#to_html ⇒ Object
29 30 31 32 33 34 |
# File 'lib/helpers/formtastic.rb', line 29 def to_html input_wrapping do label_html << builder.text_area(method, ) end end |