edit.phtml 405 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. ?>
  7. <form action="<?= /* @escapeNotVerified */ $block->getSaveUrl() ?>" method="post" id="design-edit-form">
  8. <?= $block->getBlockHtml('formkey') ?>
  9. </form>
  10. <script>
  11. require([
  12. "jquery",
  13. "mage/mage"
  14. ], function($){
  15. $('#design-edit-form').mage('form').mage('validation');
  16. });
  17. </script>