<?php Block::put('breadcrumb') ?>
    <ul>
        <li><a href="<?= Backend::url('winter/forum/channels') ?>"><?= e(trans('winter.forum::lang.channels.name')) ?></a></li>
        <li><?= e(trans($this->pageTitle)) ?></li>
    </ul>
<?php Block::endPut() ?>

<?php if (!$this->fatalError): ?>

    <div class="layout-item stretch layout-column">
        <?= $this->formRenderPreview() ?>
    </div>

<?php else: ?>

    <p class="flash-message static error"><?= e(trans($this->fatalError)) ?></p>
    <p><a href="<?= Backend::url('winter/forum/channels') ?>" class="btn btn-default"><?= e(trans('winter.forum::lang.channels.returnlist')) ?></a></p>

<?php endif ?>
