registration.phtml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. // @codingStandardsIgnoreFile
  7. ?>
  8. <div id="registration" data-bind="scope:'registration'">
  9. <br />
  10. <!-- ko template: getTemplate() --><!-- /ko -->
  11. <script type="text/x-magento-init">
  12. {
  13. "#registration": {
  14. "Magento_Ui/js/core/app": {
  15. "components": {
  16. "registration": {
  17. "component": "Magento_Checkout/js/view/registration",
  18. "config": {
  19. "registrationUrl": "<?= /* @escapeNotVerified */ $block->getCreateAccountUrl() ?>",
  20. "email": "<?= /* @escapeNotVerified */ $block->getEmailAddress() ?>"
  21. },
  22. "children": {
  23. "errors": {
  24. "component": "Magento_Ui/js/view/messages",
  25. "sortOrder": 0,
  26. "displayArea": "messages",
  27. "config": {
  28. "autoHideTimeOut": -1
  29. }
  30. }
  31. }
  32. }
  33. }
  34. }
  35. }
  36. }
  37. </script>
  38. </div>