x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<fieldset class="ui-segments" > <legend class="sr-only">Device</legend> <label class="ui-segment"> <input type="radio" name="device" value="desktop" class="sr-only" checked> <span>Desktop</span> </label> <label class="ui-segment"> <input type="radio" name="device" value="mobile" class="sr-only" > <span>Mobile</span> </label> <label class="ui-segment"> <input type="radio" name="device" value="tablet" class="sr-only" > <span>Tablet</span> </label></fieldset>1
render RadioGroupComponent.new(name: "device", legend: "Device", options: SearchParams::DEVICES.map { |d| [ d.capitalize, d ] }, selected: selected, disabled: disabled)No notes provided.
| Param | Description | Input |
|---|---|---|
|
— |
|
|
|
— |
|