Class: RadioPreview
- Inherits:
-
Lookbook::Preview
- Object
- Lookbook::Preview
- RadioPreview
- Defined in:
- lib/lookbook/radio_preview.rb
Instance Method Summary collapse
Instance Method Details
#default(label: 'Radio', disabled: false, required: false) ⇒ Object
6 7 8 |
# File 'lib/lookbook/radio_preview.rb', line 6 def default(label: 'Radio', disabled: false, required: false) render 'common/form', helper_name: 'material_radio', label: label, name: 'checkbox', id: 'Input', disabled: disabled, required: required end |