PHP Classes

File: views/backend/page-type/create.php

Recommend this page to a friend!
  Classes of Gabriel Alejandro López López   Yii2 Website Module   views/backend/page-type/create.php   Download  
File: views/backend/page-type/create.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: 659 bytes
 

Contents

Class file image Download
<?php

use yii\helpers\Html;


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

$this->title = Yii::t('website','New...');
$this->params['breadcrumbs'][] = ['label' => Yii::t('website','Settings'), 'url' => ['website/update']];
$this->params['breadcrumbs'][] = ['label' => Yii::t('website','Page Types'), 'url' => ['website/update', '#' => 'page-types']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="page-type-create">

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

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

</div>