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