Class: FormProps::Inputs::CollectionRadioButtons::RadioButtonBuilder
- Inherits:
-
Builder
- Object
- Builder
- FormProps::Inputs::CollectionRadioButtons::RadioButtonBuilder
- Defined in:
- lib/form_props/inputs/collection_radio_buttons.rb
Instance Method Summary collapse
Instance Method Details
#render(extra_html_options = {}) ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/form_props/inputs/collection_radio_buttons.rb', line 13 def render( = {}) = .merge(@input_html_options) [:skip_default_ids] = false checkbox = RadioButton.new(@object_name, @method_name, @template_object, @value, ) checkbox.render(true) checkbox.json.label @text end |