You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

update.php 521B

123456789101112131415161718192021
  1. <?php
  2. use yii\helpers\Html;
  3. /* @var $this yii\web\View */
  4. /* @var $model app\models\Produit */
  5. $this->title = 'Modifier vrac #'. $model->id;
  6. $this->params['breadcrumbs'][] = ['label' => 'Produits', 'url' => ['index']];
  7. $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
  8. $this->params['breadcrumbs'][] = 'Update';
  9. ?>
  10. <div class="produit-update">
  11. <h1><?= Html::encode($this->title) ?></h1>
  12. <?= $this->render('_form', [
  13. 'model' => $model,
  14. ]) ?>
  15. </div>