Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
registration.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 ?>
9 <div id="registration" data-bind="scope:'registration'">
10  <br />
11  <!-- ko template: getTemplate() --><!-- /ko -->
12  <script type="text/x-magento-init">
13  {
14  "#registration": {
15  "Magento_Ui/js/core/app": {
16  "components": {
17  "registration": {
18  "component": "Magento_Checkout/js/view/registration",
19  "config": {
20  "registrationUrl": "<?= /* @escapeNotVerified */ $block->getCreateAccountUrl() ?>",
21  "email": "<?= /* @escapeNotVerified */ $block->getEmailAddress() ?>"
22  },
23  "children": {
24  "errors": {
25  "component": "Magento_Ui/js/view/messages",
26  "sortOrder": 0,
27  "displayArea": "messages",
28  "config": {
29  "autoHideTimeOut": -1
30  }
31  }
32  }
33  }
34  }
35  }
36  }
37  }
38  </script>
39 </div>