x
<form action="/products" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="0A-md2ujZ7R57gKV7FDBihpqNrm0ubErcoQWTJWxpj6h31rOSDaz-qj67O64qwZL0nU1wlVUZdfI0wn_pinPJw" autocomplete="off" />
<div>
<label class="Polaris-Choice">
<span class="Polaris-Choice__Control">
<span class="Polaris-Checkbox">
<input name="product[accept]" type="hidden" value="0" autocomplete="off" /><input aria-checked="false" class="Polaris-Checkbox__Input" type="checkbox" value="1" name="product[accept]" id="product_accept" />
<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>
</form>
<%= form_with(model: product, builder: Polaris::FormBuilder) do |form| %>
<%= form.polaris_check_box(:accept,
label: "Basic checkbox",
help_text: "Customers must review their order details before purchasing.",
) %>
<% end %>
No notes provided.
No params configured.