Skip to content

Commit

Permalink
ENGCOM-4636: Admin-Order-Create-Set-Save-address-checkbox-true-as-def…
Browse files Browse the repository at this point in the history
…ault-#106 #21932
  • Loading branch information
sidolov authored Apr 10, 2019
2 parents 7902364 + 6bbd681 commit 5db19c4
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +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"
<?php if (!$block->getDontSaveInAddressBook() && $block->getAddress()->getSaveInAddressBook()): ?> checked="checked"<?php endif; ?>
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 5db19c4

Please sign in to comment.