Quellcode durchsuchen

Issue 5160: Update base app to use bootstrap ActiveForm

Michael Härtl vor 11 Jahren
Ursprung
Commit
ac46b6dab6
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 2 2
      views/site/contact.php
  2. 2 2
      views/site/login.php

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

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