castopod/modules/Admin/Views/page/view.php
Yassine Doghri 5083cd2fda refactor(modules): extract castopod parts into a modules/ folder for a scalable HMVC structure
- create Admin, Analytics, Auth, Fediverse and Install modules in the root modules/ folder
- rename
ActivityPub to Fediverse
2021-12-29 11:54:22 +00:00

23 lines
522 B
PHP

<?= $this->extend('Modules\Admin\Views\_layout') ?>
<?= $this->section('title') ?>
<?= $page->title ?>
<?= $this->endSection() ?>
<?= $this->section('pageTitle') ?>
<?= $page->title ?>
<?= $this->endSection() ?>
<?= $this->section('headerRight') ?>
<?= button(lang('Page.edit'), route_to('page-edit', $page->id), [
'variant' => 'accent',
'iconLeft' => 'add',
]) ?>
<?= $this->endSection() ?>
<?= $this->section('content') ?>
<div class="prose">
<?= $page->content_html ?>
</div>
<?= $this->endSection() ?>