Skip to content

Commit

Permalink
Admin-Order-Create-Set-Save-address-checkbox-true-as-default-#106
Browse files Browse the repository at this point in the history
  • Loading branch information
krnshah committed Mar 26, 2019
1 parent 67fc1a0 commit ef181ca
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ endif; ?>
<?= $block->getForm()->toHtml() ?>

<div class="admin__field admin__field-option order-save-in-address-book">
<input name="<?= $block->getForm()->getHtmlNamePrefix() ?>[save_in_address_book]" type="checkbox" id="<?= $block->getForm()->getHtmlIdPrefix() ?>save_in_address_book" value="1" checked="checked" class="admin__control-checkbox"/>
<input name="<?= $block->getForm()->getHtmlNamePrefix() ?>[save_in_address_book]" type="checkbox" id="<?= $block->getForm()->getHtmlIdPrefix() ?>save_in_address_book" value="1"
<?php if (!$block->getDontSaveInAddressBook()): ?> checked="checked"<?php endif; ?> class="admin__control-checkbox"/>
<label for="<?= $block->getForm()->getHtmlIdPrefix() ?>save_in_address_book"
class="admin__field-label"><?= /* @escapeNotVerified */ __('Save in address book') ?></label>
</div>
Expand Down

0 comments on commit ef181ca

Please sign in to comment.