Class: SimpleForm::ActionViewExtensions::RadioButtonBuilder
- Inherits:
-
BuilderBase
- Object
- BuilderBase
- SimpleForm::ActionViewExtensions::RadioButtonBuilder
- Defined in:
- lib/simple_form/action_view_extensions/builder.rb
Overview
Handles generating an instance of radio + label for collection_radio_buttons.
Instance Attribute Summary
Attributes inherited from BuilderBase
Instance Method Summary collapse
Methods inherited from BuilderBase
Constructor Details
This class inherits a constructor from SimpleForm::ActionViewExtensions::BuilderBase
Instance Method Details
#radio_button(extra_html_options = {}) ⇒ Object
:nodoc:
26 27 28 29 |
# File 'lib/simple_form/action_view_extensions/builder.rb', line 26 def (={}) = .merge(@input_html_options) @form_builder.(@method_name, @value, ) end |