Class: Phlexi::Form::Components::RadioButton
- Inherits:
-
Input
show all
- Defined in:
- lib/phlexi/form/components/radio_button.rb
Instance Attribute Summary
Attributes inherited from Base
#attributes, #field
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
11
12
13
14
|
# File 'lib/phlexi/form/components/radio_button.rb', line 11
def (...)
super.compact
end
|
#view_template ⇒ Object
7
8
9
|
# File 'lib/phlexi/form/components/radio_button.rb', line 7
def view_template
input(**attributes, value: @checked_value)
end
|