<?php
/**
 * Copyright © 2016 maijindou.com All rights reserved.
 * See COPYING.txt for license details.
 */

// @codingStandardsIgnoreFile

?>
<?php $_element = $block->getElement() ?>
<?php if ($_element->getFieldsetContainerId()): ?>
    <div id="<?php /* @escapeNotVerified */ echo $_element->getFieldsetContainerId(); ?>">789
<?php endif; ?>

<?php if (!$_element->getNoContainer()): ?>
    <fieldset class="admin__fieldset fieldset <?php /* @escapeNotVerified */ echo $_element->getClass() ?>" id="<?php echo $_element->getHtmlId() ?>">
<?php endif; ?>

    <?php if ($_element->getLegend()): ?>
        <legend class="admin__legend legend">
            <span><?php /* @escapeNotVerified */ echo $_element->getLegend() ?></span>
            <?php echo $block->getHintHtml() ?>
        </legend><br/>
        <?php /* @escapeNotVerified */ echo $_element->getHeaderBar() ?>
    <?php else: ?>
        <?php echo $block->getHintHtml() ?>
    <?php endif; ?>
        <div class="tree-store-scope">
            <?php if ($_element->getComment()): ?>
            <p class="comment"><?php echo $block->escapeHtml($_element->getComment()) ?></p>
            <?php endif; ?>
            <?php if ($_element->hasHtmlContent()): ?>
               <?php echo $_element->getHtmlContent(); ?>
            <?php else: ?>
                <?php echo $_element->getChildrenHtml(); ?>
            <?php endif; ?>
        </div>
<?php echo $_element->getSubFieldsetHtml() ?>

<?php if (!$_element->getNoContainer()): ?>
    </fieldset>
<?php endif; ?>
<?php if ($_element->getFieldsetContainerId()): ?>
    </div>
<?php endif; ?>
