Merge pull request #5238 from mikehaertl/master

Update app templates to use bootstrap ActiveForm
This commit is contained in:
Alexander Makarov
2014-09-29 16:08:16 +04:00
8 changed files with 16 additions and 16 deletions

View File

@@ -1,9 +1,9 @@
<?php <?php
use yii\helpers\Html; use yii\helpers\Html;
use yii\widgets\ActiveForm; use yii\bootstrap\ActiveForm;
/* @var $this yii\web\View */ /* @var $this yii\web\View */
/* @var $form yii\widgets\ActiveForm */ /* @var $form yii\bootstrap\ActiveForm */
/* @var $model \common\models\LoginForm */ /* @var $model \common\models\LoginForm */
$this->title = 'Login'; $this->title = 'Login';

View File

@@ -1,10 +1,10 @@
<?php <?php
use yii\helpers\Html; use yii\helpers\Html;
use yii\widgets\ActiveForm; use yii\bootstrap\ActiveForm;
use yii\captcha\Captcha; use yii\captcha\Captcha;
/* @var $this yii\web\View */ /* @var $this yii\web\View */
/* @var $form yii\widgets\ActiveForm */ /* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\ContactForm */ /* @var $model \frontend\models\ContactForm */
$this->title = 'Contact'; $this->title = 'Contact';

View File

@@ -1,9 +1,9 @@
<?php <?php
use yii\helpers\Html; use yii\helpers\Html;
use yii\widgets\ActiveForm; use yii\bootstrap\ActiveForm;
/* @var $this yii\web\View */ /* @var $this yii\web\View */
/* @var $form yii\widgets\ActiveForm */ /* @var $form yii\bootstrap\ActiveForm */
/* @var $model \common\models\LoginForm */ /* @var $model \common\models\LoginForm */
$this->title = 'Login'; $this->title = 'Login';

View File

@@ -1,9 +1,9 @@
<?php <?php
use yii\helpers\Html; use yii\helpers\Html;
use yii\widgets\ActiveForm; use yii\bootstrap\ActiveForm;
/* @var $this yii\web\View */ /* @var $this yii\web\View */
/* @var $form yii\widgets\ActiveForm */ /* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\PasswordResetRequestForm */ /* @var $model \frontend\models\PasswordResetRequestForm */
$this->title = 'Request password reset'; $this->title = 'Request password reset';

View File

@@ -1,9 +1,9 @@
<?php <?php
use yii\helpers\Html; use yii\helpers\Html;
use yii\widgets\ActiveForm; use yii\bootstrap\ActiveForm;
/* @var $this yii\web\View */ /* @var $this yii\web\View */
/* @var $form yii\widgets\ActiveForm */ /* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\ResetPasswordForm */ /* @var $model \frontend\models\ResetPasswordForm */
$this->title = 'Reset password'; $this->title = 'Reset password';

View File

@@ -1,9 +1,9 @@
<?php <?php
use yii\helpers\Html; use yii\helpers\Html;
use yii\widgets\ActiveForm; use yii\bootstrap\ActiveForm;
/* @var $this yii\web\View */ /* @var $this yii\web\View */
/* @var $form yii\widgets\ActiveForm */ /* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\SignupForm */ /* @var $model \frontend\models\SignupForm */
$this->title = 'Signup'; $this->title = 'Signup';

View File

@@ -1,10 +1,10 @@
<?php <?php
use yii\helpers\Html; use yii\helpers\Html;
use yii\widgets\ActiveForm; use yii\bootstrap\ActiveForm;
use yii\captcha\Captcha; use yii\captcha\Captcha;
/* @var $this yii\web\View */ /* @var $this yii\web\View */
/* @var $form yii\widgets\ActiveForm */ /* @var $form yii\bootstrap\ActiveForm */
/* @var $model app\models\ContactForm */ /* @var $model app\models\ContactForm */
$this->title = 'Contact'; $this->title = 'Contact';

View File

@@ -1,9 +1,9 @@
<?php <?php
use yii\helpers\Html; use yii\helpers\Html;
use yii\widgets\ActiveForm; use yii\bootstrap\ActiveForm;
/* @var $this yii\web\View */ /* @var $this yii\web\View */
/* @var $form yii\widgets\ActiveForm */ /* @var $form yii\bootstrap\ActiveForm */
/* @var $model app\models\LoginForm */ /* @var $model app\models\LoginForm */
$this->title = 'Login'; $this->title = 'Login';