Browse Source

Issue 5160: Update advanced app to use bootstrap ActiveForm

tags/2.0.0
Michael Härtl 10 years ago
parent
commit
066680f0b6
  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

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';

Loading…
Cancel
Save