Advertisement
pmtpenza22

Untitled

Feb 13th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. <?php
  2.  
  3. use yii\helpers\Html;
  4. use kartik\file\FileInput;
  5.  
  6. /* @var $this yii\web\View */
  7. /* @var $model backend\models\Product */
  8.  
  9. $this->title = 'Update Product: ' . $model->name;
  10. $this->params['breadcrumbs'][] = ['label' => 'Products', 'url' => ['index']];
  11. $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
  12. $this->params['breadcrumbs'][] = 'Update';
  13. ?>
  14. <div class="product-update">
  15.  
  16. <h1><?= Html::encode($this->title) ?></h1>
  17.  
  18. <?php echo $this->render('_form', [
  19. 'model' => $model,
  20. 'images' => $images
  21. ]) ?>
  22.  
  23. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement