x
1
2
3
4
5
6
7
<div class='switch-filter'>
<div>Label</div>
<label class='switch' for='id'>
<input type="checkbox" name="selected_metadata[]" id="id" value="selected_metadata[]" class="" onChange="" />
<span class='slider'></span>
</label>
</div>
1
render SwitchInputComponent.new(id: 'id', name: 'selected_metadata[]', value: '', label: label)
Param Description Input