PHP Classes

File: views/backend/page/update.php

Recommend this page to a friend!
  Classes of Gabriel Alejandro López López   Yii2 Static Pages 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 Static Pages Module
Generate static pages for a Yii2 Web application
Author: By
Last change:
Date: 13 days ago
Size: 541 bytes
 

Contents

Class file image Download
<?php

use yii\helpers\Html;
use
daxslab\staticpages\components\Utils;

/* @var $this yii\web\View */
/* @var $model daxslab\staticpages\models\Page */

$this->title = Yii::t('staticpages', 'Update Page: {nameAttribute}', [
   
'nameAttribute' => $model->title,
]);

$this->params['breadcrumbs'] = Utils::breadcrumbsForPage($model);

?>
<div class="page-update">

    <header class="page-header">
        <h1><?= Html::encode($this->title) ?></h1>
    </header>

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

</div>