Advertisement
nazmiwafiy

create.php

Dec 6th, 2018
2,989
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. use yii\helpers\Html;
  4.  
  5.  
  6. /* @var $this yii\web\View */
  7. /* @var $model frontend\models\Contact */
  8.  
  9. $this->title = 'Create Contact';
  10. $this->params['breadcrumbs'][] = ['label' => 'Contacts', 'url' => ['index']];
  11. $this->params['breadcrumbs'][] = $this->title;
  12. ?>
  13. <div class="contact-create">
  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