Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <legend class="legend"><span><?= $block->escapeHtml(__('Personal Information')) ?></span></legend><br>
- <input type="hidden" name="success_url" value="<?= $block->escapeUrl($block->getSuccessUrl()) ?>">
- <input type="hidden" name="error_url" value="<?= $block->escapeUrl($block->getErrorUrl()) ?>">
- <?= $block->getLayout()->createBlock('MagentoCustomerBlockWidgetName')->setObject($block->getFormData())->setForceUseCustomerAttributes(true)->toHtml() ?>
- <?php if ($block->isNewsletterEnabled()): ?>
- <div class="field choice newsletter">
- <input type="checkbox" name="is_subscribed" title="<?= $block->escapeHtmlAttr(__('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><?= $block->escapeHtml(__('Sign Up for Newsletter')) ?></span></label>
- </div>
- <?php /* Extensions placeholder */ ?>
- <?= $block->getChildHtml('customer.form.register.newsletter') ?>
- <?php endif ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement