<?php
/**
 * Copyright 2014 Adobe
 * All Rights Reserved.
 */
?>

<?php if ($block->canDisplayGiftMessage()) : ?>
    <div class="no-display">
        <div id="gift-message-form-data-<?= (int) $block->getItem()->getId() ?>">
            <?= $block->getFormHtml() ?>
        </div>

        <?php if ($block->getMessageText()) : ?>
        <div class="gift-options-tooltip-content">
            <div><strong><?= $block->escapeHtml(__('Gift Message')) ?></strong>:</div>
            <div><?= /* @noEscape */ $block->getMessageText() ?></div>
        </div>
        <?php endif; ?>
    </div>
<?php endif; ?>
