info.phtml 473 B

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