<?php
/**
 * Copyright 2014 Adobe
 * All Rights Reserved.
 */

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

<form id="edit_form" class="admin__scope-old edit-form" action="<?= $block->escapeHtml($block->getSaveUrl()) ?>" method="post">
    <input name="form_key" type="hidden" value="<?= $block->escapeHtml($block->getFormKey()) ?>" />
    <?= $block->getChildHtml('form') ?>
</form>
<script type="text/x-magento-init">
    {
        "#edit_form": {
            "Magento_Catalog/catalog/product/edit/attribute": {
                "validationUrl": "<?= $block->escapeJs($block->escapeUrl($block->getValidationUrl())) ?>"
            }
        }
    }
</script>
<?= /* @noEscape */ $block->getFormScripts() ?>
