Commit a1497ca0 by Alexander Makarov

Removed extra \models\forms namespace, moved all models to just \models

parent 5d7e7f4d
...@@ -4,7 +4,7 @@ namespace backend\controllers; ...@@ -4,7 +4,7 @@ namespace backend\controllers;
use Yii; use Yii;
use yii\web\AccessControl; use yii\web\AccessControl;
use yii\web\Controller; use yii\web\Controller;
use common\models\forms\LoginForm; use common\models\LoginForm;
/** /**
* Site controller * Site controller
......
...@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm; ...@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
/** /**
* @var yii\web\View $this * @var yii\web\View $this
* @var yii\widgets\ActiveForm $form * @var yii\widgets\ActiveForm $form
* @var common\models\forms\LoginForm $model * @var \common\models\LoginForm $model
*/ */
$this->title = 'Login'; $this->title = 'Login';
$this->params['breadcrumbs'][] = $this->title; $this->params['breadcrumbs'][] = $this->title;
......
<?php <?php
namespace common\models\forms; namespace common\models;
use common\models\User; use common\models\User;
use yii\base\Model; use yii\base\Model;
......
<?php <?php
namespace frontend\controllers; namespace frontend\controllers;
use common\models\forms\LoginForm; use common\models\LoginForm;
use frontend\models\forms\PasswordResetRequestForm; use frontend\models\PasswordResetRequestForm;
use frontend\models\forms\ResetPasswordForm; use frontend\models\ResetPasswordForm;
use frontend\models\forms\SignupForm; use frontend\models\SignupForm;
use frontend\models\forms\ContactForm; use frontend\models\ContactForm;
use yii\base\InvalidParamException; use yii\base\InvalidParamException;
use yii\web\BadRequestHttpException; use yii\web\BadRequestHttpException;
use yii\web\Controller; use yii\web\Controller;
......
<?php <?php
namespace frontend\models\forms; namespace frontend\models;
use Yii; use Yii;
use yii\base\Model; use yii\base\Model;
......
<?php <?php
namespace frontend\models\forms; namespace frontend\models;
use common\models\User; use common\models\User;
use yii\base\Model; use yii\base\Model;
......
<?php <?php
namespace frontend\models\forms; namespace frontend\models;
use common\models\User; use common\models\User;
use yii\base\InvalidParamException; use yii\base\InvalidParamException;
......
<?php <?php
namespace frontend\models\forms; namespace frontend\models;
use common\models\User; use common\models\User;
use yii\base\Model; use yii\base\Model;
......
...@@ -6,7 +6,7 @@ use yii\captcha\Captcha; ...@@ -6,7 +6,7 @@ use yii\captcha\Captcha;
/** /**
* @var yii\web\View $this * @var yii\web\View $this
* @var yii\widgets\ActiveForm $form * @var yii\widgets\ActiveForm $form
* @var \frontend\models\forms\ContactForm $model * @var \frontend\models\ContactForm $model
*/ */
$this->title = 'Contact'; $this->title = 'Contact';
$this->params['breadcrumbs'][] = $this->title; $this->params['breadcrumbs'][] = $this->title;
......
...@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm; ...@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
/** /**
* @var yii\web\View $this * @var yii\web\View $this
* @var yii\widgets\ActiveForm $form * @var yii\widgets\ActiveForm $form
* @var common\models\forms\LoginForm $model * @var \common\models\LoginForm $model
*/ */
$this->title = 'Login'; $this->title = 'Login';
$this->params['breadcrumbs'][] = $this->title; $this->params['breadcrumbs'][] = $this->title;
......
...@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm; ...@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
/** /**
* @var yii\web\View $this * @var yii\web\View $this
* @var yii\widgets\ActiveForm $form * @var yii\widgets\ActiveForm $form
* @var \frontend\models\forms\PasswordResetRequestForm $model * @var \frontend\models\PasswordResetRequestForm $model
*/ */
$this->title = 'Request password reset'; $this->title = 'Request password reset';
$this->params['breadcrumbs'][] = $this->title; $this->params['breadcrumbs'][] = $this->title;
......
...@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm; ...@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
/** /**
* @var yii\web\View $this * @var yii\web\View $this
* @var yii\widgets\ActiveForm $form * @var yii\widgets\ActiveForm $form
* @var \frontend\models\forms\ResetPasswordForm $model * @var \frontend\models\ResetPasswordForm $model
*/ */
$this->title = 'Reset password'; $this->title = 'Reset password';
$this->params['breadcrumbs'][] = $this->title; $this->params['breadcrumbs'][] = $this->title;
......
...@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm; ...@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
/** /**
* @var yii\web\View $this * @var yii\web\View $this
* @var yii\widgets\ActiveForm $form * @var yii\widgets\ActiveForm $form
* @var \frontend\models\forms\SignupForm $model * @var \frontend\models\SignupForm $model
*/ */
$this->title = 'Signup'; $this->title = 'Signup';
$this->params['breadcrumbs'][] = $this->title; $this->params['breadcrumbs'][] = $this->title;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment