Class: Matestack::Ui::Bootstrap::Form::Checkbox
- Inherits:
-
VueJs::Components::Form::Checkbox
- Object
- VueJs::Components::Form::Checkbox
- Matestack::Ui::Bootstrap::Form::Checkbox
- Includes:
- Registry
- Defined in:
- lib/matestack/ui/bootstrap/form/checkbox.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods included from Registry
#bs_accordion, #bs_alert, #bs_avatar, #bs_badge, #bs_breadcrumb, #bs_btn, #bs_btn_group, #bs_card, #bs_carousel, #bs_close, #bs_col, #bs_collapse, #bs_container, #bs_dropdown, #bs_figure, #bs_form_checkbox, #bs_form_input, #bs_form_radio, #bs_form_select, #bs_form_submit, #bs_form_switch, #bs_icon, #bs_list_group, #bs_modal, #bs_navbar, #bs_page_heading, #bs_pagination, #bs_popover, #bs_progress, #bs_row, #bs_scrollspy, #bs_section_card, #bs_sidebar, #bs_smart_collection, #bs_spinner, #bs_tab_nav, #bs_tab_nav_content, #bs_toast, #bs_tooltip
Instance Method Details
#response ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/matestack/ui/bootstrap/form/checkbox.rb', line 11 def response div class: "matestack-ui-bootstrap-form-checkbox" do label input_label, class: "form-label", for: attribute_key if input_label && multiple? render_errors render_form_text unless context.form_text.nil? # otherwise renders empty div end end |