update.php 415 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Author: lf
  4. * Blog: https://blog.feehi.com
  5. * Email: job@feehi.com
  6. * Created at: 2017-12-05 13:00
  7. */
  8. use yii\helpers\Url;
  9. $this->params['breadcrumbs'] = [
  10. ['label' => Yii::t('app', 'Ad'), 'url' => Url::to(['index'])],
  11. ['label' => Yii::t('app', 'Update') . Yii::t('app', 'Ad')],
  12. ];
  13. /**
  14. * @var $model backend\models\form\AdForm
  15. */
  16. ?>
  17. <?= $this->render('_form', [
  18. 'model' => $model,
  19. ]);