<div class="box-panel margin-bottom">
    <div class="box-panel-title"><?= __('Items') ?></div>
    <div class="box-panel-content">
        <div class="kit-items">
            <?php foreach ($items as $item): ?>
                <div class="item">
                    <div class="name">
                        <?php if ($item['quantity'] > 1): ?>
                            <span class="quantity"><?= $item['quantity'] ?>x</span>
                        <?php endif ?>
                        <?= util('Item')->getFullName($item['item']) ?>
                    </div>
                    <div class="image" data-tooltip data-tooltip-url="<?= tooltip_url($item['item']->getHex()) ?>">
                        <img src="<?= util('Item')->getImage($item['item']) ?>" />
                    </div>
                </div>
            <?php endforeach ?>
        </div>
    </div>
</div>