Commit a43be083 by Alexander Makarov

Moved forms used in frontend only to frontend

parent d98ec80c
......@@ -2,10 +2,10 @@
namespace frontend\controllers;
use common\models\forms\LoginForm;
use common\models\forms\PasswordResetRequestForm;
use common\models\forms\ResetPasswordForm;
use common\models\forms\SignupForm;
use frontend\models\ContactForm;
use frontend\models\forms\PasswordResetRequestForm;
use frontend\models\forms\ResetPasswordForm;
use frontend\models\forms\SignupForm;
use frontend\models\forms\ContactForm;
use yii\base\InvalidParamException;
use yii\web\BadRequestHttpException;
use yii\web\Controller;
......
<?php
namespace frontend\models;
namespace frontend\models\forms;
use Yii;
use yii\base\Model;
......
<?php
namespace common\models\forms;
namespace frontend\models\forms;
use common\models\User;
use yii\base\Model;
......
<?php
namespace common\models\forms;
namespace frontend\models\forms;
use common\models\User;
use yii\base\InvalidParamException;
......
<?php
namespace common\models\forms;
namespace frontend\models\forms;
use common\models\User;
use yii\base\Model;
......
......@@ -6,7 +6,7 @@ use yii\captcha\Captcha;
/**
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var frontend\models\ContactForm $model
* @var \frontend\models\forms\ContactForm $model
*/
$this->title = 'Contact';
$this->params['breadcrumbs'][] = $this->title;
......
......@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
/**
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var common\models\forms\PasswordResetRequestForm $model
* @var \frontend\models\forms\PasswordResetRequestForm $model
*/
$this->title = 'Request password reset';
$this->params['breadcrumbs'][] = $this->title;
......
......@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
/**
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var common\models\forms\ResetPasswordForm $model
* @var \frontend\models\forms\ResetPasswordForm $model
*/
$this->title = 'Reset password';
$this->params['breadcrumbs'][] = $this->title;
......
......@@ -5,7 +5,7 @@ use yii\widgets\ActiveForm;
/**
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var common\models\forms\SignupForm $model
* @var \frontend\models\forms\SignupForm $model
*/
$this->title = 'Signup';
$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