<?php
/* @var \Magetop\Advancepreview\Block\AdvancePreview $block */
$rule1 = $block->getPreviewHelper()->getApdConfigValue('advancepreview/register_setting/custom_agd');
$rule2 = $block->getPreviewHelper()->getApdConfigValue('advancepreview/register_setting/custom_accuracy');
?>
<div class="field required" id="custom-fields-b2c" style="">
    <input type="hidden" id="txt-customer-group" name="txt_customer_group" value="1">
    <div class="field choice">
        <input type="checkbox" name="custom_agd" id="custom-agd" value="1" class="input-text" data-validate="{required:true}">
        <label for="custom-agd" class="label">
            <span><?= $rule1 ?></span>
        </label>
    </div>
    <div class="field choice">
        <input type="checkbox" name="custom_accuracy" id="custom-accuracy" value="1" class="input-text" data-validate="{required:true}">
        <label for="custom-accuracy" class="label">
            <span><?= $rule2; ?></span>
        </label>
    </div>

</div>

