<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
?>
<?php $_element = $block->getElement() ?>
<?php if ($_element->getNoSpan() !== true) : ?>
<span class="field-row">
<?php endif; ?>
<?= $_element->getLabelHtml() ?>
<?= $_element->getElementHtml() ?>
<?php if ($_element->getNoSpan() !== true) : ?>
</span>
<?php endif; ?>
