Class: CmsTextAreaInput

Inherits:
SimpleForm::Inputs::TextInput
  • Object
show all
Includes:
Cms::FormBuilder::DefaultInput
Defined in:
app/inputs/cms_text_area_input.rb

Overview

Adds additional options to the TextArea

Instance Method Summary collapse

Methods included from Cms::FormBuilder::DefaultInput

#extract_default

Instance Method Details

#input(_wrapper_options = nil) ⇒ Object



6
7
8
9
# File 'app/inputs/cms_text_area_input.rb', line 6

def input(_wrapper_options = nil)
  extract_default
  @builder.text_area(attribute_name, input_html_options).html_safe
end