Class: Ui::Table::Select::Many

Inherits:
Component
  • Object
show all
Defined in:
lib/ui/table/select/many.rb

Constant Summary

Constants inherited from Component

Component::VIEWPATH

Instance Method Summary collapse

Methods inherited from Component

#capture, #icon, #render_group

Instance Method Details

#showObject



5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/ui/table/select/many.rb', line 5

def show
  check_box_tag(
    name,
    value,
    selected,
    disabled: disabled,
    data: {
      "selectable-target": "input",
      action: "click->selectable#select"
    }
  )
end