fitness-web/backend/views/product/create.php
2015-09-24 22:14:09 +02:00

25 lines
584 B
PHP

<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\Product */
/* @var $accounts common\models\Account[] */
$this->title = Yii::t('common/product', 'Create Product');
$this->params['breadcrumbs'][] = ['label' => Yii::t('common/product', 'Products'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="product-create">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form', [
'model' => $model,
'accounts' => $accounts,
'categories' => $categories ,
]) ?>
</div>