PHP Classes

File: views/backend/page/create.php

Recommend this page to a friend!
  Classes of Gabriel Alejandro López López   Yii2 Static Pages Module   views/backend/page/create.php   Download  
File: views/backend/page/create.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: 5 months ago
Size: 556 bytes
 

Contents

Class file image Download
<?php

use daxslab\staticpages\Module;
use
yii\helpers\Html;


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

$this->title = Yii::t('staticpages', 'Create Page');
$this->params['breadcrumbs'][] = ['label' => Yii::t('staticpages', 'Pages'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="page-create">

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

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

</div>