Sha256: 626e4d193b63645b5cdeda947e1d01145bb675d4c495c0c1b45f39ac18708d3c
Contents?: true
Size: 540 Bytes
Versions: 39
Compression:
Stored size: 540 Bytes
Contents
module SimpleForm module Inputs class CollectionCheckBoxesInput < CollectionRadioButtonsInput protected # Checkbox components do not use the required html tag. # More info: https://github.com/plataformatec/simple_form/issues/340#issuecomment-2871956 def has_required? false end def build_nested_boolean_style_item_tag(collection_builder) collection_builder.check_box + collection_builder.text end def item_wrapper_class "checkbox" end end end end
Version data entries
39 entries across 39 versions & 6 rubygems