Class: Form::RadioButton
- Inherits:
-
BaseTag
- Object
- BaseTag
- Form::RadioButton
- Defined in:
- app/views/form/radio_button.rb
Constant Summary collapse
- ALLOWED_OPTIONS =
[:checked, :tag_value].freeze
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.allowed_options ⇒ Object
7 8 9 |
# File 'app/views/form/radio_button.rb', line 7 def super + ALLOWED_OPTIONS end |
Instance Method Details
#view_template ⇒ Object
14 15 16 |
# File 'app/views/form/radio_button.rb', line 14 def view_template input(type: :radio, class: classes, data:, **) end |