Refactored View
This commit is contained in:
parent
1fff71bb31
commit
d9735bc3b7
@ -5,7 +5,7 @@ use yii\bootstrap\NavBar;
|
||||
use yii\widgets\Breadcrumbs;
|
||||
|
||||
/**
|
||||
* @var $this \yii\base\View
|
||||
* @var $this \yii\web\View
|
||||
* @var $content string
|
||||
*/
|
||||
app\config\AppAsset::register($this);
|
||||
|
@ -2,7 +2,7 @@
|
||||
use yii\helpers\Html;
|
||||
|
||||
/**
|
||||
* @var yii\base\View $this
|
||||
* @var yii\web\View $this
|
||||
*/
|
||||
$this->title = 'About';
|
||||
$this->params['breadcrumbs'][] = $this->title;
|
||||
|
@ -4,7 +4,7 @@ use yii\widgets\ActiveForm;
|
||||
use yii\captcha\Captcha;
|
||||
|
||||
/**
|
||||
* @var yii\base\View $this
|
||||
* @var yii\web\View $this
|
||||
* @var yii\widgets\ActiveForm $form
|
||||
* @var app\models\ContactForm $model
|
||||
*/
|
||||
|
@ -3,7 +3,7 @@
|
||||
use yii\helpers\Html;
|
||||
|
||||
/**
|
||||
* @var yii\base\View $this
|
||||
* @var yii\web\View $this
|
||||
* @var string $name
|
||||
* @var string $message
|
||||
* @var Exception $exception
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @var yii\base\View $this
|
||||
* @var yii\web\View $this
|
||||
*/
|
||||
$this->title = 'My Yii Application';
|
||||
?>
|
||||
|
@ -3,7 +3,7 @@ use yii\helpers\Html;
|
||||
use yii\widgets\ActiveForm;
|
||||
|
||||
/**
|
||||
* @var yii\base\View $this
|
||||
* @var yii\web\View $this
|
||||
* @var yii\widgets\ActiveForm $form
|
||||
* @var app\models\LoginForm $model
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user