vault.phtml 738 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. // @codingStandardsIgnoreFile
  7. /** @var Magento\Vault\Block\Form $block */
  8. $code = $block->escapeHtml($block->getMethodCode());
  9. ?>
  10. <fieldset data-mage-init='{
  11. "Magento_Vault/js/vault": {
  12. "code": "<?= /* @noEscape */ $code ?>",
  13. "fieldset": "payment_form_<?= /* @noEscape */ $code ?>"
  14. }
  15. }' class="admin__fieldset payment-method"
  16. id="payment_form_<?= /* @noEscape */ $code ?>"
  17. style="display:none"
  18. >
  19. <input type="hidden" name="payment[public_hash]" id="<?= /* @noEscape */ $code ?>_public_hash" value="" />
  20. <?= $block->getChildHtml() ?>
  21. </fieldset>