class Sidebar::ParamField::SelectField

Public Instance Methods

input_html(sidebar) click to toggle source
# File lib/sidebar.rb, line 52
def input_html(sidebar)
  select_tag(input_name(sidebar),
             options_for_select(options[:choices], sidebar.config[key]),
             options)
end