<?php
// Copyright 1999-2024. WebPros International GmbH. All rights reserved.
?>
<div class="form-row">
    <div class="field-name"></div>
    <div class="field-value">
        <div class="form-flow">
            <?php foreach ($this->items as $item): ?>
                <div class="form-flow-item" id="form-flow-item-<?php echo $item['form']->getId(); ?>">
                    <div class="form-flow-item-image">
                        <?php if (isset($item['image'])): ?>
                            <img src="<?php echo $this->skinUrl($item['image']); ?>" alt="">
                        <?php endif; ?>
                    </div>
                    <div class="form-flow-item-name"><?php echo isset($item['name']) ? $item['name'] : ''; ?></div>
                    <div class="form-flow-item-content">
                        <?php if (isset($item['description'])): ?>
                            <p><?php echo $item['description']; ?></p>
                        <?php endif; ?>
                        <?php echo $item['form']->render(); ?>
                    </div>
                </div>
            <?php endforeach; ?>
        </div>
    </div>
</div>
