<?php
// Copyright 1999-2022. Plesk International GmbH. All rights reserved.
?>
<div class="form-row">
    <div class="field-name">
        <label for="<?php echo $this->element->getId(); ?>">
            <?php echo $this->element->getLabel(); ?>
        </label>
     </div>

    <div class="field-value">
        <div class="text-value">
            <span>
                <?php echo $this->escape($this->element->getValue()); ?>

                <?php if (!$this->readOnly && $this->isPossibleToChange): ?>
                    <a href="<?php echo $this->baseUrl('/web/change-hosting/id/' . $this->domainId); ?>">
                        [<?php echo $this->lmsg('smb.components.forms.web.settings.changeHosting'); ?>]</a>
                <?php endif; ?>
            </span>
        </div>
    </div>
</div>