Class: Bootstrap::ViewHelpers::Components::Button::Checkbox
- Inherits:
-
Bootstrap::ViewHelpers::Components::Button
- Object
- Bootstrap::ViewHelpers::Component
- Bootstrap::ViewHelpers::Components::Button
- Bootstrap::ViewHelpers::Components::Button::Checkbox
- Defined in:
- lib/bootstrap/view_helpers/components/button/checkbox.rb
Constant Summary
Constants inherited from Bootstrap::ViewHelpers::Components::Button
Instance Attribute Summary
Attributes inherited from Bootstrap::ViewHelpers::Component
#block, #options, #style, #view
Instance Method Summary collapse
Methods inherited from Bootstrap::ViewHelpers::Components::Button
Methods inherited from Bootstrap::ViewHelpers::Component
Constructor Details
This class inherits a constructor from Bootstrap::ViewHelpers::Component
Instance Method Details
#to_html ⇒ Object
6 7 8 9 10 11 |
# File 'lib/bootstrap/view_helpers/components/button/checkbox.rb', line 6 def to_html = content_tag(:label, ) do content_tag(:input, label, ) end end |