<?php Block::put('breadcrumb') ?>
    <ul>
        <li><a href="<?= Backend::url('dynamedia/posts/posts') ?>">
                <?= e(trans('dynamedia.posts::lang.common.labels.posts'))?>
            </a></li>

        <li>
            <?= e(trans('dynamedia.posts::lang.common.titles.previewing', ['name' => $this->formGetModel()->title]))?>
            <a target="_blank" style="color:blue;" href="<?= $this->formGetModel()->url ?>">
                (<?= e(trans('dynamedia.posts::lang.common.labels.live_view'))?>)
            </a>
        </li>

</ul>
<?php Block::endPut() ?>

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

    <div class="form-preview">
        <?= $this->formRenderPreview() ?>
    </div>

<?php else: ?>

    <p class="flash-message static error"><?= e($this->fatalError) ?></p>
    <p><a href="<?= Backend::url('dynamedia/posts/posts') ?>" class="btn btn-default"><?= e(trans('backend::lang.form.return_to_list'))?></a></p>

<?php endif ?>
