<?php
/**
 * Copyright © 2013-2017 Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

// @codingStandardsIgnoreFile

?>
<?php
/**
 * @var $block \Magento\Backend\Block\Widget\Form\Container
 */
?>
<?php /* @escapeNotVerified */ echo $block->getFormInitScripts() ?>
<div data-mage-init='{"floatingHeader": {}}' class="page-actions attribute-popup-actions" <?php /* @escapeNotVerified */ echo $block->getUiId('content-header') ?>>
    <?php echo $block->getButtonsHtml('header') ?>
</div>

<form id="edit_form" class="admin__scope-old" action="<?php echo $block->escapeHtml($block->getSaveUrl()) ?>" method="post">
    <input name="form_key" type="hidden" value="<?php echo $block->escapeHtml($block->getFormKey()) ?>" />
    <?php echo $block->getChildHtml('form') ?>
</form>


<script>
require(['jquery', "mage/mage"], function(jQuery){

    jQuery('#edit_form').mage('form').mage('validation', {validationUrl: '<?php /* @escapeNotVerified */ echo $block->getValidationUrl() ?>'});

});
</script>
<?php /* @escapeNotVerified */ echo $block->getFormScripts() ?>
