PHP Classes

File: views/backend/website/update.php

Recommend this page to a friend!
  Classes of Gabriel Alejandro López López   Yii2 Website Module   views/backend/website/update.php   Download  
File: views/backend/website/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: 2 months ago
Size: 523 bytes
 

Contents

Class file image Download
<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $model daxslab\website\models\Website */

$this->title = Yii::t('website','Settings');
$this->params['breadcrumbs'][] = $this->title;
$module = $this->context->module->id;
?>
<div class="website-update">

    <header class="mb-4 pb-2 border-bottom">
        <h1><?= Html::encode($this->title) ?></h1>
    </header>

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

    <?= Yii::$app->runAction("/$module/page-type/index") ?>

</div>