<?php
// Copyright 1999-2021. Plesk International GmbH. All rights reserved.
?>
<?php
$nameElement = $this->element->getElement($this->nameId);
?>
<div id='<?php echo $nameElement->getId(); ?>-form-row' class='form-row'>
    <div class='field-name'>
        <label for="<?php echo $nameElement->getId(); ?>">
            <?php echo $nameElement->getLabel(); ?>
            <?= $this->requiredMark($nameElement->isRequired()) ?>
        </label>
    </div>
    <div class='field-value'>
        <span>
            <?php
            echo $this->elementPart($nameElement)->content() . '&nbsp;' .
                $this->elementPart($this->element->getElement($this->valueId))->content();
            ?>
        </span>
        <span class="field-errors" style="display: none;"></span>
        <?php if ($nameElement->getDescription()): ?>
            <span class="hint"><?php echo $nameElement->getDescription(); ?></span>
        <?php endif; ?>
    </div>
</div>
