Class: Formtastic::Inputs::MarkdownEditorInput
- Inherits:
-
StringInput
- Object
- StringInput
- Formtastic::Inputs::MarkdownEditorInput
- Defined in:
- lib/active_admin/formtastic/inputs/markdown_editor_input.rb
Instance Method Summary collapse
Instance Method Details
#input_html_options ⇒ Object
4 5 6 |
# File 'lib/active_admin/formtastic/inputs/markdown_editor_input.rb', line 4 def super.merge(class: 'simple-mde-input') end |
#to_html ⇒ Object
8 9 10 11 12 |
# File 'lib/active_admin/formtastic/inputs/markdown_editor_input.rb', line 8 def to_html input_wrapping do label_html << builder.text_area(method, ) end.html_safe end |