Class: Shoelace::Components::SlCollectionRadioButtons::RadioButtonBuilder
- Inherits:
-
Builder
- Object
- Builder
- Shoelace::Components::SlCollectionRadioButtons::RadioButtonBuilder
- Defined in:
- app/helpers/shoelace/components/sl_collection_radio_buttons.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#label ⇒ Object
11 12 13 |
# File 'app/helpers/shoelace/components/sl_collection_radio_buttons.rb', line 11 def label(*) text end |
#radio_button(extra_html_options = {}, &block) ⇒ Object
15 16 17 18 19 |
# File 'app/helpers/shoelace/components/sl_collection_radio_buttons.rb', line 15 def ( = {}, &block) = .merge(@input_html_options) [:skip_default_ids] = false @template_object.(@object_name, @method_name, @value, , &block) end |