Class: Sidebars::Field::SelectField
- Inherits:
-
Sidebars::Field
- Object
- Sidebars::Field
- Sidebars::Field::SelectField
- Defined in:
- lib/sidebars/plugin.rb
Instance Attribute Summary
Attributes inherited from Sidebars::Field
Instance Method Summary (collapse)
Methods inherited from Sidebars::Field
build, class_for, #initialize, #input_name, #label_html, #line_html
Constructor Details
This class inherits a constructor from Sidebars::Field
Instance Method Details
- (Object) input_html(sidebar)
31 32 33 34 35 |
# File 'lib/sidebars/plugin.rb', line 31 def input_html() select_tag(input_name(), ([:choices], .config[key]), ) end |