x
<fieldset class="Polaris-ChoiceList">
<legend class="Polaris-ChoiceList__Title">
While the customer is checking out
</legend>
<ul class="Polaris-ChoiceList__Choices">
<li>
<div>
<label class="Polaris-Choice">
<span class="Polaris-Choice__Control">
<span class="Polaris-Checkbox">
<input type="checkbox" name="question[]" id="question_" value="shipping" aria-checked="false" class="Polaris-Checkbox__Input" />
<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">
Use the shipping address as the billing address by default
</span>
</label>
<div class="Polaris-Choice__Descriptions">
<div class="Polaris-Choice__HelpText">
Reduces the number of fields required to check out. The billing address can still be edited.
</div>
</div>
</div>
</li>
<li>
<div>
<label class="Polaris-Choice">
<span class="Polaris-Choice__Control">
<span class="Polaris-Checkbox">
<input type="checkbox" name="question[]" id="question_" value="confirmation" aria-checked="false" class="Polaris-Checkbox__Input" />
<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">
Require a confirmation step
</span>
</label>
<div class="Polaris-Choice__Descriptions">
<div class="Polaris-Choice__HelpText">
Customers must review their order details before purchasing.
</div>
</div>
</div>
</li>
</ul>
</fieldset>
<%= polaris_choice_list(title: "While the customer is checking out", name: :question) do |choice| %>
<% choice.checkbox(
label: "Use the shipping address as the billing address by default",
value: "shipping",
help_text: "Reduces the number of fields required to check out. The billing address can still be edited.",
) %>
<% choice.checkbox(
label: "Require a confirmation step",
value: "confirmation",
help_text: "Customers must review their order details before purchasing.",
) %>
<% end %>
No notes provided.
No params configured.