x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<div> <label class="Polaris-Choice"> <span class="Polaris-Choice__Control"> <span class="Polaris-Checkbox"> <input type="checkbox" id="" value="1" aria-checked="true" class="Polaris-Checkbox__Input" checked="checked" /> <span class="Polaris-Checkbox__Backdrop"></span> <span class="Polaris-Checkbox__Icon"> <span class="Polaris-Icon"> <svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="m8.315 13.859-3.182-3.417a.506.506 0 0 1 0-.684l.643-.683a.437.437 0 0 1 .642 0l2.22 2.393 4.942-5.327a.436.436 0 0 1 .643 0l.643.684a.504.504 0 0 1 0 .683l-5.91 6.35a.437.437 0 0 1-.642 0"></path></svg> </span> </span> </span> </span> <span class="Polaris-Choice__Label"> Basic checkbox </span> </label> <div class="Polaris-Choice__Descriptions"> <div class="Polaris-Choice__HelpText"> Customers must review their order details before purchasing. </div> </div></div>
1
2
3
4
5
<%= polaris_checkbox( label: "Basic checkbox", checked: true, help_text: "Customers must review their order details before purchasing.",) %>
No notes provided.
No params configured.