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