Browse Source

Merge pull request #5238 from mikehaertl/master

Update app templates to use bootstrap ActiveForm
tags/2.0.0
Alexander Makarov 10 years ago
parent
commit
badea4049c
  1. 4
      apps/advanced/backend/views/site/login.php
  2. 4
      apps/advanced/frontend/views/site/contact.php
  3. 4
      apps/advanced/frontend/views/site/login.php
  4. 4
      apps/advanced/frontend/views/site/requestPasswordResetToken.php
  5. 4
      apps/advanced/frontend/views/site/resetPassword.php
  6. 4
      apps/advanced/frontend/views/site/signup.php
  7. 4
      apps/basic/views/site/contact.php
  8. 4
      apps/basic/views/site/login.php

4
apps/advanced/backend/views/site/login.php

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

4
apps/advanced/frontend/views/site/contact.php

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

4
apps/advanced/frontend/views/site/login.php

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

4
apps/advanced/frontend/views/site/requestPasswordResetToken.php

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

4
apps/advanced/frontend/views/site/resetPassword.php

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

4
apps/advanced/frontend/views/site/signup.php

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

4
apps/basic/views/site/contact.php

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

4
apps/basic/views/site/login.php

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

Loading…
Cancel
Save