Advertisement
nazmiwafiy

update.php

Dec 6th, 2018
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.54 KB | None | 0 0
  1. <?php
  2.  
  3. use yii\helpers\Html;
  4.  
  5. /* @var $this yii\web\View */
  6. /* @var $model frontend\models\Contact */
  7.  
  8. $this->title = 'Update Contact: ' . $model->name;
  9. $this->params['breadcrumbs'][] = ['label' => 'Contacts', 'url' => ['index']];
  10. $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
  11. $this->params['breadcrumbs'][] = 'Update';
  12. ?>
  13. <div class="contact-update">
  14.  
  15.     <h1><?= Html::encode($this->title) ?></h1>
  16.  
  17.     <?= $this->render('_form', [
  18.         'model' => $model,
  19.     ]) ?>
  20.  
  21. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement