Class: Sidebar::ParamField::TextAreaField
- Inherits:
-
Sidebar::ParamField
- Object
- Sidebar::ParamField
- Sidebar::ParamField::TextAreaField
- Defined in:
- lib/sidebar.rb
Instance Attribute Summary
Attributes inherited from Sidebar::ParamField
Instance Method Summary collapse
Methods inherited from Sidebar::ParamField
build, #canonicalize, class_for, #initialize, #input_name, #label, #label_html, #line_html
Constructor Details
This class inherits a constructor from Sidebar::ParamField
Instance Method Details
#input_html(sidebar) ⇒ Object
60 61 62 63 |
# File 'lib/sidebar.rb', line 60 def input_html() = { "rows" => "10", "class" => "span4" }.update(.stringify_keys) text_area_tag(input_name(), .config[key], ) end |