Exemple #1
0
<?php

use yii\helpers\Html;
$this->title = 'Добавить склад';
$this->params['breadcrumbs'][] = ['label' => 'Склады', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
\pistol88\shop\assets\BackendAsset::register($this);
?>
<div class="producer-create">
    <div class="shop-menu">
        <?php 
echo $this->render('../parts/menu');
?>
    </div>
    
    <?php 
echo $this->render('_form', ['model' => $model, 'activeStaffers' => $activeStaffers]);
?>

</div>
Exemple #2
0
<?php

use yii\helpers\Html;
use pistol88\shop\assets\BackendAsset;
BackendAsset::register($this);
?>

<?php 
$this->beginPage();
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<title><?php 
echo $this->title;
?>
</title>
	<meta charset="<?php 
echo Yii::$app->charset;
?>
">
	<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
	<?php 
echo Html::csrfMetaTags();
?>
	<?php 
$this->head();
?>
</head>
<body>
<?php