- <?php if ($block->isNewsletterEnabled()): ?>
- <div class="field choice newsletter">
- <input type="checkbox" name="is_subscribed" title="<?php /* @escapeNotVerified */ echo __('Sign Up for Newsletter') ?>" value="1" id="is_subscribed"<?php if ($block->getFormData()->getIsSubscribed()): ?> checked="checked"<?php endif; ?> class="checkbox">
- <label for="is_subscribed" class="label"><span><?php /* @escapeNotVerified */ echo __('Sign Up for Newsletter') ?></span></label>
- </div>
- <?php /* Extensions placeholder */ ?>
- <?php echo $block->getChildHtml('customer.form.register.newsletter')?>
- <?php endif ?>