PHP Classes

File: views/backend/page/update.php

Recommend this page to a friend!
  Classes of Gabriel Alejandro López López   Yii2 Website Module   views/backend/page/update.php   Download  
File: views/backend/page/update.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Yii2 Website Module
Add a content page management system to a site
Author: By
Last change:
Date: 1 month ago
Size: 625 bytes
 

Contents

Class file image Download
<?php

use \daxslab\website\components\Lookup;
use
yii\helpers\Html;

$this->title = $model->title;
$this->params['breadcrumbs'] = Lookup::getBreadcrumbsForPage($model);

\
daxslab\website\components\Lookup::getLink($model, 'create');

?>

<header class="mb-4 pb-2 border-bottom">
    <h1>
        <?= $this->title ?>
<small title="<?= Yii::t('website', 'Slug') ?>" class="text-muted">(<?= $model->slug ?>)</small><br/>
        <small><?= Html::a($model->url, $model->url, ['target' => '_blank']) ?></small>
    </h1>
</header>

<?= $this->render('_form', [
   
'model' => $model,
   
'metadatas' => $metadatas,
])
?>