class Sidebar::ParamField::TextAreaField

Public Instance Methods

input_html(sidebar) click to toggle source
# File lib/sidebar.rb, line 60
def input_html(sidebar)
  html_options = { "rows" => "10", "class" => "span4" }.update(options.stringify_keys)
  text_area_tag(input_name(sidebar), sidebar.config[key], html_options)
end