Checkbox
bs_form_checkbox(*args, &block)
bs_form_checkbox(*args, &block)Examples
Example 1: Basic usage with single checkbox field
bs_form_checkbox label: "Single checkbox", key: :some_checkbox_input"some_checkbox_input"=>nil # or true, if the input has been clicked or false if the input was clicked againExample 2: Basic usage with an Array
Example 3: Basic usage with a Hash
Example 4: Using a label
Example 5: Using a form_text
Example 6: Using the disabled option
disabled optionExample 7: Using the :inline variant
:inline variantLast updated